mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Do not raise exception if the authenticator email is missing
Followup to 296cdc53ee
This commit is contained in:
@@ -19,7 +19,7 @@ class Auth::Result
|
||||
end
|
||||
|
||||
def email
|
||||
@email.downcase
|
||||
@email&.downcase
|
||||
end
|
||||
|
||||
def failed?
|
||||
|
||||
Reference in New Issue
Block a user