diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index 08c2a11641..c74f6ed6e3 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -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); },