mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Increase the default SAML session expirary time to 15 minutes. (#7664)
This commit is contained in:
parent
c746889bb0
commit
b9df7f70bb
1
changelog.d/7664.misc
Normal file
1
changelog.d/7664.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Increase the default SAML session expirary time to 15 minutes.
|
@ -1454,7 +1454,7 @@ saml2_config:
|
|||||||
|
|
||||||
# The lifetime of a SAML session. This defines how long a user has to
|
# The lifetime of a SAML session. This defines how long a user has to
|
||||||
# complete the authentication process, if allow_unsolicited is unset.
|
# complete the authentication process, if allow_unsolicited is unset.
|
||||||
# The default is 5 minutes.
|
# The default is 15 minutes.
|
||||||
#
|
#
|
||||||
#saml_session_lifetime: 5m
|
#saml_session_lifetime: 5m
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ class SAML2Config(Config):
|
|||||||
|
|
||||||
# session lifetime: in milliseconds
|
# session lifetime: in milliseconds
|
||||||
self.saml2_session_lifetime = self.parse_duration(
|
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")
|
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
|
# The lifetime of a SAML session. This defines how long a user has to
|
||||||
# complete the authentication process, if allow_unsolicited is unset.
|
# complete the authentication process, if allow_unsolicited is unset.
|
||||||
# The default is 5 minutes.
|
# The default is 15 minutes.
|
||||||
#
|
#
|
||||||
#saml_session_lifetime: 5m
|
#saml_session_lifetime: 5m
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user