Skip to content

Commit 43eebcf

Browse files
authored
docs: Update OTP::ActiveRecord#verify_otp docs (#17)
1 parent ed4e44a commit 43eebcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/otp/active_record.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def otp
3232

3333
# Verifies the OTP
3434
#
35-
# @return true on success, false on failure
35+
# @return otp_counter on success, nil on failure
3636
def verify_otp(otp)
3737
return nil if !valid? || !persisted? || otp_secret.blank?
3838

0 commit comments

Comments
 (0)