diff options
author | Alex Buijs <abuijs@gitlab.com> | 2019-07-31 16:48:38 +0200 |
---|---|---|
committer | Alex Buijs <abuijs@gitlab.com> | 2019-08-08 13:58:09 +0200 |
commit | 5cbe16c3d2a3a3667021fb8c81f743308aefbdae (patch) | |
tree | 0f8330c9e782d452a780443fe7cd00486cc3cae9 /config | |
parent | 2bc0f0cfcf7b201df2e55afb5c1360f3d591782a (diff) | |
download | gitlab-ce-5cbe16c3d2a3a3667021fb8c81f743308aefbdae.tar.gz |
Set Devise's allow_unconfirmed_access_for
to 30 days
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/8_devise.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/8_devise.rb b/config/initializers/8_devise.rb index 3dd12c7e64d..8ef9ff6b7fc 100644 --- a/config/initializers/8_devise.rb +++ b/config/initializers/8_devise.rb @@ -81,7 +81,7 @@ Devise.setup do |config| # You can use this to let your user access some features of your application # without confirming the account, but blocking it after a certain period # (ie 2 days). - # config.allow_unconfirmed_access_for = 2.days + config.allow_unconfirmed_access_for = 30.days # Defines which key will be used when confirming an account # config.confirmation_keys = [ :email ] |