mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08: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