mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 11:44:59 -04:00
Parse ui_auth.session_timeout as a duration (instead of treating it as ms) (#9426)
This commit is contained in:
parent
e8e7012265
commit
e17553e185
4 changed files with 11 additions and 8 deletions
|
@ -343,7 +343,7 @@ class UIAuthTests(unittest.HomeserverTestCase):
|
|||
},
|
||||
)
|
||||
|
||||
@unittest.override_config({"ui_auth": {"session_timeout": 5 * 1000}})
|
||||
@unittest.override_config({"ui_auth": {"session_timeout": "5s"}})
|
||||
def test_can_reuse_session(self):
|
||||
"""
|
||||
The session can be reused if configured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue