Skip to content

Commit

Permalink
Fix minor typo in code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrizor committed Aug 31, 2022
1 parent b81e773 commit 9bd1bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise_two_factor/models/two_factor_backupable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def generate_otp_backup_codes!
end

# Returns true and invalidates the given code
# iff that code is a valid backup code.
# if that code is a valid backup code.
def invalidate_otp_backup_code!(code)
codes = self.otp_backup_codes || []

Expand Down

0 comments on commit 9bd1bfb

Please sign in to comment.