summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-06-11 07:55:45 -0400
committerGitHub <noreply@github.com>2020-06-11 07:55:45 -0400
commitb9df7f70bb399f0fe2f661838c2df3341a257c2c (patch)
tree0929f8a7b8541331d5e17279616e7cb002dd3574 /synapse
parentfix typo in sample_config.yaml (#7652) (diff)
downloadsynapse-b9df7f70bb399f0fe2f661838c2df3341a257c2c.tar.xz
Increase the default SAML session expirary time to 15 minutes. (#7664)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/saml2_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/saml2_config.py b/synapse/config/saml2_config.py
index d0a19751e8..293643b2de 100644
--- a/synapse/config/saml2_config.py
+++ b/synapse/config/saml2_config.py
@@ -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