Upgrade change password form

This commit is contained in:
2021-02-17 18:22:43 +01:00
parent 035546d320
commit 82f6bc009c
2 changed files with 24 additions and 13 deletions

View File

@ -62,6 +62,14 @@ class PasswordInput {
this._refreshArea();
}
/**
* @param {User} user
*/
setUser(user) {
this._firstName = user.firstName;
this._lastName = user.lastName;
}
isValid() {
this._refreshArea();
return this._valid;