FIX: Do not raise exception if the authenticator email is missing

Followup to 296cdc53ee
This commit is contained in:
David Taylor
2019-08-14 12:08:59 +01:00
parent 92f2202e4a
commit 5755d3886f
2 changed files with 12 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class Auth::Result
end
def email
@email.downcase
@email&.downcase
end
def failed?