Presistent login

This commit is contained in:
Godwin 2017-07-04 10:36:47 -07:00
parent 9e55d27d33
commit a3c7bb99d8
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
"and_chr": ["59"], "and_chr": ["59"],
"chrome": ["59"], "chrome": ["59"],
"edge": ["13"], "edge": ["13"],
"firefox": ["52"], "firefox": ["54"],
"ie": ["11"], "ie": ["11"],
"ios_saf": ["8", "9"] "ios_saf": ["8", "9"]
} }

View File

@ -8,7 +8,7 @@ require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE if Rails.env.development? OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE if Rails.env.development?
Rails.application.config.sorcery.submodules = [:external] Rails.application.config.sorcery.submodules = [:external, :remember_me]
# Here you can configure each submodule's features. # Here you can configure each submodule's features.
Rails.application.config.sorcery.configure do |config| Rails.application.config.sorcery.configure do |config|
@ -231,7 +231,7 @@ Rails.application.config.sorcery.configure do |config|
# How long in seconds the session length will be # How long in seconds the session length will be
# Default: `604800` # Default: `604800`
# #
# user.remember_me_for = user.remember_me_for = 2592000
# -- user_activation -- # -- user_activation --