mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:06:08 -04:00
Increase the default SAML session expirary time to 15 minutes. (#7664)
This commit is contained in:
parent
c746889bb0
commit
b9df7f70bb
3 changed files with 4 additions and 3 deletions
|
@ -160,7 +160,7 @@ class SAML2Config(Config):
|
|||
|
||||
# session lifetime: in milliseconds
|
||||
self.saml2_session_lifetime = self.parse_duration(
|
||||
saml2_config.get("saml_session_lifetime", "5m")
|
||||
saml2_config.get("saml_session_lifetime", "15m")
|
||||
)
|
||||
|
||||
template_dir = saml2_config.get("template_dir")
|
||||
|
@ -286,7 +286,7 @@ class SAML2Config(Config):
|
|||
|
||||
# The lifetime of a SAML session. This defines how long a user has to
|
||||
# complete the authentication process, if allow_unsolicited is unset.
|
||||
# The default is 5 minutes.
|
||||
# The default is 15 minutes.
|
||||
#
|
||||
#saml_session_lifetime: 5m
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue