Switch to using m.login.dummy

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist
2022-02-10 00:18:52 +00:00
parent 58a5c740aa
commit 5d980bd46b

View File

@@ -981,7 +981,11 @@
{
// 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 = @{@"username": self.authInputsView.userId,
NSDictionary *parameters = @{@"auth": @{
@"session": self.authInputsView.authSession.session,
@"type": kMXLoginFlowTypeDummy
},
@"username": self.authInputsView.userId,
@"password": self.authInputsView.password,
@"bind_email": @(NO),
@"initial_device_display_name":self.deviceDisplayName