Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Do not raise exception if the authenticator email is missing
Followup to 296cdc5
- Loading branch information
1 parent
92f2202
commit 5755d38
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ def initialize | |
end | ||
|
||
def email | ||
@email.downcase | ||
@email&.downcase | ||
end | ||
|
||
def failed? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters