Skip to content

Commit

Permalink
Merge pull request #224 from kerrizor/patch-1
Browse files Browse the repository at this point in the history
Fix minor typo in code comment
  • Loading branch information
bsedat committed Aug 22, 2023
2 parents 733d11f + 9bd1bfb commit 11e60a7
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
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 11e60a7

Please sign in to comment.