Gestionnaire: increase validity token to 45 minutes

This commit is contained in:
simon lehericey 2019-01-10 12:01:07 +01:00
parent 29fff9ee68
commit eb6ef1eb46

View file

@ -3,7 +3,7 @@ class Gestionnaire < ApplicationRecord
include EmailSanitizableConcern
include ActiveRecord::SecureToken
LOGIN_TOKEN_VALIDITY = 30.minutes
LOGIN_TOKEN_VALIDITY = 45.minutes
LOGIN_TOKEN_YOUTH = 15.minutes
devise :database_authenticatable, :registerable, :async,