Revert "Adopt session cookie configuration for remember me cookie (#12938)" (#12970)

This reverts commit cc2b76f7e4.
This commit is contained in:
rhymes 2021-03-11 16:25:25 +01:00 committed by GitHub
parent 595964766a
commit b1fab9ce22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,7 +211,7 @@ Devise.setup do |config|
# Options to be passed to the created cookie. For instance, you can set
# secure: true in order to force SSL only cookies.
config.rememberable_options = { secure: ApplicationConfig["FORCE_SSL_IN_RAILS"] == "true", same_site: :lax }
# config.rememberable_options = {}
# ==> Configuration for :validatable
# Range for password length.