Move errors to top of reset password

This commit is contained in:
J. Ryan Stinnett 2019-02-06 18:10:06 +00:00
parent 3afc455f3c
commit 0e543a362e

View file

@ -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>