app/models/tokens/one_time.rb in authpwn_rails-0.12.1 vs app/models/tokens/one_time.rb in authpwn_rails-0.13.0

- old
+ new

@@ -1,9 +1,9 @@ # :namespace module Tokens - + # One-time tokens can only be used once to authenticate an account. -class OneTime < Credentials::Token +class OneTime < Tokens::Base # Updates the token's state to reflect that it was used for authentication. # # One-time tokens become invalid after they are spent. # # Returns the token instance.