diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index bbf024398d..0d36e592f8 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -560,13 +560,12 @@ module.exports = React.createClass({ { _t('Sign in instead') } ; - let goBack = - { _t('Go back') } - ; - - // Don't show the 'go back' button in one specific case: when you're staring at the form. - if ((PHASES_ENABLED && this.state.phase === PHASE_REGISTRATION) && !this.state.doingUIAuth) { - goBack = null; + // Only show the 'go back' button if you're not looking at the form + let goBack; + if ((PHASES_ENABLED && this.state.phase !== PHASE_REGISTRATION) || this.state.doingUIAuth) { + goBack = + { _t('Go back') } + ; } return (