Merge pull request #2661 from jryans/captcha-stuck
Show link to login even during UI auth
This commit is contained in:
commit
cba3897944
1 changed files with 3 additions and 8 deletions
|
@ -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) {
|
{ _t('Sign in instead') }
|
||||||
signIn = (
|
</a>;
|
||||||
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
|
||||||
{ _t('Sign in instead') }
|
|
||||||
</a>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AuthPage>
|
<AuthPage>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue