1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Merge pull request #2661 from jryans/captcha-stuck

Show link to login even during UI auth
This commit is contained in:
J. Ryan Stinnett
2019-02-19 18:17:51 +00:00
committed by GitHub

View File

@@ -505,14 +505,9 @@ module.exports = React.createClass({
errorText = <div className="mx_Login_error">{ err }</div>; errorText = <div className="mx_Login_error">{ err }</div>;
} }
let signIn; const signIn = <a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
if (!this.state.doingUIAuth) {
signIn = (
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
{ _t('Sign in instead') } { _t('Sign in instead') }
</a> </a>;
);
}
return ( return (
<AuthPage> <AuthPage>