diff --git a/ssoauth/checks.py b/ssoauth/checks.py index acf1d300400ca0204cdbf1e9105a3b211aee7f33..2c100500b6d5671088bf9b5341a823cde52af00f 100644 --- a/ssoauth/checks.py +++ b/ssoauth/checks.py @@ -129,7 +129,7 @@ def session_lifetime(app_configs, **kwargs): max_wanted = 60 * 60 # seconds if conf.settings.SESSION_COOKIE_AGE > max_wanted: errors.append(Error( - "Please reduce SESSION_COOKIE_AGE to at most {max_wanted}".format(**locals()), + "Please reduce SESSION_COOKIE_AGE to at most {max_wanted} or set SESSION_EXPIRE_AT_BROWSER_CLOSE = True".format(**locals()), obj=conf.settings, )) return errors