diff --git a/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m b/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m index 34789e133..f51004ede 100644 --- a/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m +++ b/Riot/Modules/MatrixKit/Controllers/MXKAuthenticationViewController.m @@ -984,7 +984,10 @@ { // 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": @{}, + NSDictionary *parameters = @{@"auth": @{ + @"session": self.authInputsView.authSession.session, + @"type": kMXLoginFlowTypeDummy + }, @"username": self.authInputsView.userId, @"password": self.authInputsView.password, @"bind_email": @(NO), diff --git a/changelog.d/3736.bugfix b/changelog.d/3736.bugfix new file mode 100644 index 000000000..a573977ac --- /dev/null +++ b/changelog.d/3736.bugfix @@ -0,0 +1 @@ +Fix registration to be compliant with the Matrix specification. This allows registering for accounts on Conduit servers. Contributed by @aaronraimist. \ No newline at end of file