Make registration spec compliant (fixes registration on Conduit)

Web PR: https://github.com/matrix-org/matrix-react-sdk/pull/4347

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist
2022-02-06 21:06:58 +00:00
parent e938789ab9
commit 3b3d4189b2

View File

@@ -981,8 +981,7 @@
{
// Trigger here a register request in order to associate the filled userId and password to the current session id
// This will check the availability of the userId at the same time
NSDictionary *parameters = @{@"auth": @{},
@"username": self.authInputsView.userId,
NSDictionary *parameters = @{@"username": self.authInputsView.userId,
@"password": self.authInputsView.password,
@"bind_email": @(NO),
@"initial_device_display_name":self.deviceDisplayName