Skip to content

Instantly share code, notes, and snippets.

@brecke
Created October 29, 2010 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brecke/653809 to your computer and use it in GitHub Desktop.
Save brecke/653809 to your computer and use it in GitHub Desktop.
login timeout authlogic
acts_as_authentic do |c|
c.logged_in_timeout = 15.minutes # default is 10.minutes
# c.disable_perishable_token_maintenance = true
c.perishable_token_valid_for = 60.minutes
# c.allow_http_basic_auth = true # Configuration for the HTTP basic auth feature of Authlogic.
# c.my_config_option = my_value # for available options see documentation in: Authlogic::ActsAsAuthentic
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment