Add settings for user consent.
This commit is contained in:
parent
c0aa4aba54
commit
9211b4200a
1 changed files with 13 additions and 0 deletions
|
@ -67,6 +67,19 @@ class DefaultSettings(object):
|
||||||
"""
|
"""
|
||||||
return 60*60
|
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()
|
default_settings = DefaultSettings()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue