TrustedDeviceToken: valid for one week

This commit is contained in:
simon lehericey 2019-02-12 17:35:19 +01:00
parent c16e30442a
commit 47e3b57e81

View file

@ -1,5 +1,5 @@
class TrustedDeviceToken < ApplicationRecord
LOGIN_TOKEN_VALIDITY = 45.minutes
LOGIN_TOKEN_VALIDITY = 1.week
LOGIN_TOKEN_YOUTH = 15.minutes
belongs_to :gestionnaire