Method: Authlogic::ActsAsAuthentic::SingleAccessToken::Methods::InstanceMethods#reset_single_access_token

Defined in:
lib/authlogic/acts_as_authentic/single_access_token.rb

#reset_single_access_tokenObject

Resets the single_access_token to a random friendly token.



60
61
62
# File 'lib/authlogic/acts_as_authentic/single_access_token.rb', line 60

def reset_single_access_token
  self.single_access_token = Authlogic::Random.friendly_token
end