Add settings for user consent.

This commit is contained in:
juanifioren 2015-06-22 18:41:42 -03:00
parent c0aa4aba54
commit 9211b4200a

View file

@ -67,6 +67,19 @@ class DefaultSettings(object):
"""
return 60*60
@property
def OIDC_USER_CONSENT_ENABLE(self):
"""
OPTIONAL.
"""
return True
@property
def OIDC_USER_CONSENT_EXPIRE(self):
"""
OPTIONAL.
"""
return 30*3
default_settings = DefaultSettings()