You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user