You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Move errors to top of reset password
This commit is contained in:
@ -227,6 +227,7 @@ module.exports = React.createClass({
|
||||
<h3>
|
||||
{yourMatrixAccountText}
|
||||
</h3>
|
||||
{errorText}
|
||||
<form onSubmit={this.onSubmitForm}>
|
||||
<div className="mx_AuthBody_fieldRow">
|
||||
<input className="mx_Login_field" ref="user" type="text"
|
||||
@ -254,7 +255,6 @@ module.exports = React.createClass({
|
||||
<input className="mx_Login_submit" type="submit" value={_t('Send Reset Email')} />
|
||||
</form>
|
||||
{serverConfigSection}
|
||||
{errorText}
|
||||
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
||||
{_t('Sign in instead')}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user