[go: nahoru, domu]

Skip to content

Commit

Permalink
docs: Update OTP::ActiveRecord#verify_otp docs (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayerdines committed Mar 30, 2024
1 parent ed4e44a commit 43eebcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/otp/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def otp

# Verifies the OTP
#
# @return true on success, false on failure
# @return otp_counter on success, nil on failure
def verify_otp(otp)
return nil if !valid? || !persisted? || otp_secret.blank?

Expand Down

0 comments on commit 43eebcf

Please sign in to comment.