Merge pull request #4540 from matrix-org/foldleft/11395-reg-error

Don't erase password confirm on registration error
This commit is contained in:
Zoe 2020-05-07 10:42:21 +01:00 committed by GitHub
commit 1abd729ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ export default createReactClass({
email: this.props.defaultEmail || "",
phoneNumber: this.props.defaultPhoneNumber || "",
password: this.props.defaultPassword || "",
passwordConfirm: "",
passwordConfirm: this.props.defaultPassword || "",
passwordComplexity: null,
passwordSafe: false,
};