Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

# ==> Configuration for :rememberable
# The time the user will be remembered without asking for credentials again.
# config.remember_for = 2.weeks
config.remember_for = 90.days

# If true, extends the user's remember period when remembered via cookie.
# config.extend_remember_period = false
Expand All @@ -128,7 +128,7 @@
# ==> 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 = 30.days
config.timeout_in = 90.days

# If true, expires auth token on session timeout.
# config.expire_auth_token_on_timeout = false
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/session_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Be sure to restart your server when you modify this file.

Rails.application.config.session_store :cookie_store, key: '_growstuff_session'
Rails.application.config.session_store :cookie_store, key: '_growstuff_session', expire_after: 90.days

# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
Expand Down
Loading