From d30b46e5df1ae17e1693aea738bdfef6c4653fda Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Sun, 6 Feb 2022 21:06:58 +0000 Subject: [PATCH] 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 --- .../MatrixKit/Controllers/MXKAuthenticationViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m b/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m index 3465c136b..7ffe37570 100644 --- a/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m +++ b/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m @@ -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