diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-12-01 00:15:36 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-12-02 18:54:15 +0000 |
commit | 0bac276890567ef3a3fafd7f5b7b5cac91a1031b (patch) | |
tree | 676f10e3ed3c786906f01f7ab5d8d2a1d752ea3c /tests/server.py | |
parent | Factor out FakeResponse from test_oidc (diff) | |
download | synapse-0bac276890567ef3a3fafd7f5b7b5cac91a1031b.tar.xz |
UIA: offer only available auth flows
During user-interactive auth, do not offer password auth to users with no password, nor SSO auth to users with no SSO. Fixes #7559.
Diffstat (limited to 'tests/server.py')
-rw-r--r-- | tests/server.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server.py b/tests/server.py index eee970c43c..4faf32e335 100644 --- a/tests/server.py +++ b/tests/server.py @@ -259,6 +259,7 @@ def make_request( for k, v in custom_headers: req.requestHeaders.addRawHeader(k, v) + req.parseCookies() req.requestReceived(method, path, b"1.1") if await_result: |