mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Downcase email coming back from auth-provider
This commit is contained in:
@@ -18,6 +18,10 @@ class Auth::Result
|
||||
@failed = false
|
||||
end
|
||||
|
||||
def email
|
||||
@email.downcase
|
||||
end
|
||||
|
||||
def failed?
|
||||
!!@failed
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user