Merge pull request #5510 from aaronraimist/register-spec

Make registration spec compliant (fixes registration on Conduit)
This commit is contained in:
Doug
2022-02-10 10:09:52 +00:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -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),