Method: Authlogic::ActsAsAuthentic::SingleAccessToken::Config#change_single_access_token_with_password
- Defined in:
- lib/authlogic/acts_as_authentic/single_access_token.rb
#change_single_access_token_with_password(value = nil) ⇒ Object Also known as: change_single_access_token_with_password=
The single access token is used for authentication via URLs, such as a private feed. That being said, if the user changes their password, that token probably shouldn’t change. If it did, the user would have to update all of their URLs. So be default this is option is disabled, if you need it, feel free to turn it on.
-
Default:
false -
Accepts:
Boolean
27 28 29 |
# File 'lib/authlogic/acts_as_authentic/single_access_token.rb', line 27 def change_single_access_token_with_password(value = nil) rw_config(:change_single_access_token_with_password, value, false) end |