Add identifier when authorizing with password

This PR is almost copy of https://github.com/Awesome-Technologies/synapse-admin/pull/601 PR,
authored by @dklimpel
This commit is contained in:
Aine
2024-09-03 10:40:27 +03:00
parent 678867e981
commit 7747dc7f28
4 changed files with 7 additions and 3 deletions

View File

@@ -31,7 +31,10 @@ const authProvider: AuthProvider = {
}
: {
type: "m.login.password",
user: username,
identifier: {
type: "m.id.user",
user: username,
},
password: password,
}
)