client: Remove a now unneeded workaround for UIA
This commit is contained in:
parent
5df9ae350c
commit
cad888e69b
2 changed files with 1 additions and 8 deletions
|
@ -22,9 +22,6 @@ fn auth_data<'a>(user: &UserId, password: &str, session: Option<&'a str>) -> Aut
|
|||
auth_parameters.insert("identifier".to_owned(), identifier);
|
||||
auth_parameters.insert("password".to_owned(), password.to_owned().into());
|
||||
|
||||
// This is needed because of https://github.com/matrix-org/synapse/issues/5665
|
||||
auth_parameters.insert("user".to_owned(), user.as_str().into());
|
||||
|
||||
AuthData::DirectRequest {
|
||||
kind: "m.login.password",
|
||||
auth_parameters,
|
||||
|
|
|
@ -1730,9 +1730,6 @@ impl Client {
|
|||
/// auth_parameters.insert("identifier".to_owned(), identifier);
|
||||
/// auth_parameters.insert("password".to_owned(), "wordpass".into());
|
||||
///
|
||||
/// // This is needed because of https://github.com/matrix-org/synapse/issues/5665
|
||||
/// auth_parameters.insert("user".to_owned(), "@example:localhost".into());
|
||||
///
|
||||
/// let auth_data = AuthData::DirectRequest {
|
||||
/// kind: "m.login.password",
|
||||
/// auth_parameters,
|
||||
|
@ -2173,8 +2170,7 @@ impl Client {
|
|||
/// });
|
||||
/// auth_parameters.insert("identifier".to_owned(), identifier);
|
||||
/// auth_parameters.insert("password".to_owned(), password.to_owned().into());
|
||||
/// // This is needed because of https://github.com/matrix-org/synapse/issues/5665
|
||||
/// auth_parameters.insert("user".to_owned(), user.as_str().into());
|
||||
///
|
||||
/// AuthData::DirectRequest {
|
||||
/// kind: "m.login.password",
|
||||
/// auth_parameters,
|
||||
|
|
Loading…
Reference in a new issue