Rename verifyPassword to password_verify for API
This commit is contained in:
parent
70edce59ff
commit
0b6eb28bcf
@ -67,7 +67,7 @@
|
||||
</label>
|
||||
<input type="password" name="new-password-verify"
|
||||
placeholder="Verify Password"
|
||||
[(ngModel)]="modalProps.user.verifyPassword">
|
||||
[(ngModel)]="modalProps.user.password_verify">
|
||||
|
||||
<label>
|
||||
{{ modalProps.prefix }} Email
|
||||
|
@ -192,7 +192,7 @@ export class UserAdmin {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (user.password !== user.verifyPassword) {
|
||||
if (user.password !== user.password_verify) {
|
||||
this.notes.add(new Notification(
|
||||
'error',
|
||||
'New password and verify password do not match.'));
|
||||
|
@ -10,7 +10,7 @@ export class UserDisplay extends User {
|
||||
|
||||
export class ModalUser extends UserDisplay {
|
||||
public password: string = '';
|
||||
public verifyPassword: string = '';
|
||||
public password_verify: string = '';
|
||||
public boardAccess: Array<string> = [];
|
||||
|
||||
constructor(user: User) {
|
||||
|
Reference in New Issue
Block a user