mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Show link to login even during UI auth
This gives users an escape hatch in case something goes wrong with the UI auth step, and they'd like to go somewhere else in the auth process.
This commit is contained in:
parent
b7cb16242b
commit
4c83d898bd
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>;
|
||||
}
|
||||
|
||||
let signIn;
|
||||
if (!this.state.doingUIAuth) {
|
||||
signIn = (
|
||||
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
||||
{ _t('Sign in instead') }
|
||||
</a>
|
||||
);
|
||||
}
|
||||
const signIn = <a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
||||
{ _t('Sign in instead') }
|
||||
</a>;
|
||||
|
||||
return (
|
||||
<AuthPage>
|
||||
|
|
Loading…
Reference in a new issue