diff options
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 59796a076..2fd6a23b1 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -173,6 +173,7 @@ use Memoize; ON_ACTIVESTATE MAX_TOKEN_AGE + MAX_SHORT_TOKEN_HOURS MAX_LOGINCOOKIE_AGE MAX_SUDO_TOKEN_AGE MAX_LOGIN_ATTEMPTS @@ -469,6 +470,8 @@ use constant TIMETRACKING_FIELDS => # The maximum number of days a token will remain valid. use constant MAX_TOKEN_AGE => 3; +# The maximum number of hours a short-lived token will remain valid. +use constant MAX_SHORT_TOKEN_HOURS => 1; # How many days a logincookie will remain valid if not used. use constant MAX_LOGINCOOKIE_AGE => 7; # How many seconds (default is 6 hours) a sudo cookie remains valid. |