From 13759fd8ce421b9b2515926f1e68cadcd1962403 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Mon, 9 Apr 2018 15:48:26 -0400 Subject: [PATCH] prevent OverflowError in SESSION_COOKIE_AGE --- awx/api/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/api/conf.py b/awx/api/conf.py index b91cdae254..34bf305f20 100644 --- a/awx/api/conf.py +++ b/awx/api/conf.py @@ -10,6 +10,7 @@ register( 'SESSION_COOKIE_AGE', field_class=fields.IntegerField, min_value=60, + max_value=30000000000, # approx 1,000 years, higher values give OverflowError label=_('Idle Time Force Log Out'), help_text=_('Number of seconds that a user is inactive before they will need to login again.'), category=_('Authentication'),