You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03: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:
@@ -463,7 +463,7 @@ export default createReactClass({
|
|||||||
initial_device_display_name: this.props.defaultDeviceDisplayName,
|
initial_device_display_name: this.props.defaultDeviceDisplayName,
|
||||||
};
|
};
|
||||||
if (auth) registerParams.auth = auth;
|
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);
|
return this.state.matrixClient.registerRequest(registerParams);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user