Skip to content
Snippets Groups Projects
Commit 542dcdaa authored by pabois's avatar pabois
Browse files

change default timeout for devise

parent a13d5030
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ Devise.setup do |config|
# ==> Configuration for :timeoutable
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again. Default is 30 minutes.
config.timeout_in = Rails.env.development? ? 30.days : 30.minutes
config.timeout_in = Rails.env.development? ? 30.days : 60.minutes
# ==> Configuration for :lockable
# Defines which strategy will be used to lock an account.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment