mirror of https://github.com/vector-im/riot-web
Merge pull request #2661 from jryans/captcha-stuck
Show link to login even during UI authpull/21833/head
commit
cba3897944
|
@ -505,14 +505,9 @@ module.exports = React.createClass({
|
|||
errorText = <div className="mx_Login_error">{ err }</div>;
|
||||
}
|
||||
|
||||
let signIn;
|
||||
if (!this.state.doingUIAuth) {
|
||||
signIn = (
|
||||
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
||||
const signIn = <a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
||||
{ _t('Sign in instead') }
|
||||
</a>
|
||||
);
|
||||
}
|
||||
</a>;
|
||||
|
||||
return (
|
||||
<AuthPage>
|
||||
|
|
Loading…
Reference in New Issue