Method: Authlogic::ActsAsAuthentic::PersistenceToken::Methods::InstanceMethods#reset_persistence_token
- Defined in:
- lib/authlogic/acts_as_authentic/persistence_token.rb
#reset_persistence_token ⇒ Object
Resets the persistence_token field to a random hex value.
50 51 52 |
# File 'lib/authlogic/acts_as_authentic/persistence_token.rb', line 50 def reset_persistence_token self.persistence_token = Authlogic::Random.hex_token end |