Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Provide an escape from the registration process #2775

Merged
merged 2 commits into from
Mar 12, 2019

Conversation

turt2live
Copy link
Member

Fixes element-hq/element-web#6560

Would be better improved by matrix-org/matrix-spec-proposals#1921 or similar in the future.

image

@turt2live turt2live requested a review from a team March 11, 2019 22:34
@bwindels bwindels requested review from bwindels and removed request for a team March 12, 2019 09:30
@@ -549,6 +560,15 @@ module.exports = React.createClass({
{ _t('Sign in instead') }
</a>;

let goBack = <a className="mx_AuthBody_changeFlow" onClick={this.onGoToFormClicked} href="#">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: only assign goBack if it'll be used? let foo; if (bar) foo = <div/> is also the pattern we use elsewhere.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seemed a bit weird to have it default off when the majority of cases use it, but I also agree that going against the grain here is more confusing.

@turt2live turt2live merged commit 09600dc into develop Mar 12, 2019
@turt2live turt2live deleted the travis/auth-escape-hatch branch March 12, 2019 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants