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

Don't erase password confirm on registration error
pull/21833/head
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
1 changed files with 1 additions and 1 deletions

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,
};