mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-09 16:44:56 -04:00
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.
This commit is contained in:
parent
76469898ee
commit
0bac276890
6 changed files with 278 additions and 33 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue