diff --git a/src/components/structures/InteractiveAuth.js b/src/components/structures/InteractiveAuth.js index 39e015f42e..2883c8cca4 100644 --- a/src/components/structures/InteractiveAuth.js +++ b/src/components/structures/InteractiveAuth.js @@ -203,7 +203,7 @@ export default React.createClass({ fail={this._onAuthStageFailed} setEmailSid={this._setEmailSid} makeRegistrationUrl={this.props.makeRegistrationUrl} - hideContinue={this.props.continueIsManaged} + showContinue={!this.props.continueIsManaged} /> ); }, diff --git a/src/components/views/login/InteractiveAuthEntryComponents.js b/src/components/views/login/InteractiveAuthEntryComponents.js index 6c1d11f82a..73b46959b0 100644 --- a/src/components/views/login/InteractiveAuthEntryComponents.js +++ b/src/components/views/login/InteractiveAuthEntryComponents.js @@ -222,7 +222,7 @@ export const TermsAuthEntry = React.createClass({ stageParams: PropTypes.object.isRequired, errorText: PropTypes.string, busy: PropTypes.bool, - hideContinue: PropTypes.bool, + showContinue: PropTypes.bool, }, componentWillMount: function() { @@ -332,7 +332,7 @@ export const TermsAuthEntry = React.createClass({ } let submitButton; - if (!this.props.hideContinue) { + if (this.props.showContinue !== false) { // XXX: button classes submitButton = ;