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