mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
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
@ -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…
x
Reference in New Issue
Block a user