Fix spurious extra devices on registration
We send a parameter to prevent being immediately logged in after registration, but we regressed it from snake case to camelcase during the course of cross-signing dev. Fixes https://github.com/vector-im/riot-web/issues/12865
This commit is contained in:
parent
5cce31b39e
commit
705fd57a4b
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ export default createReactClass({
|
|||
initial_device_display_name: this.props.defaultDeviceDisplayName,
|
||||
};
|
||||
if (auth) registerParams.auth = auth;
|
||||
if (inhibitLogin !== undefined && inhibitLogin !== null) registerParams.inhibitLogin = inhibitLogin;
|
||||
if (inhibitLogin !== undefined && inhibitLogin !== null) registerParams.inhibit_login = inhibitLogin;
|
||||
return this.state.matrixClient.registerRequest(registerParams);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue