Fix update user password confirm message
This commit is contained in:
parent
9e401fde36
commit
16b7ad790b
|
@ -224,7 +224,7 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label i18n>Manually set the user password</label>
|
<label i18n>Manually set the user password</label>
|
||||||
<my-user-password [userId]="user.id"></my-user-password>
|
<my-user-password [userId]="user.id" [username]="user.username"></my-user-password>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="user.twoFactorEnabled" class="form-group">
|
<div *ngIf="user.twoFactorEnabled" class="form-group">
|
||||||
|
|
|
@ -11,11 +11,11 @@ import { UserUpdate } from '@shared/models'
|
||||||
styleUrls: [ './user-password.component.scss' ]
|
styleUrls: [ './user-password.component.scss' ]
|
||||||
})
|
})
|
||||||
export class UserPasswordComponent extends FormReactive implements OnInit {
|
export class UserPasswordComponent extends FormReactive implements OnInit {
|
||||||
error: string
|
|
||||||
username: string
|
|
||||||
showPassword = false
|
|
||||||
|
|
||||||
@Input() userId: number
|
@Input() userId: number
|
||||||
|
@Input() username: string
|
||||||
|
|
||||||
|
error: string
|
||||||
|
showPassword = false
|
||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
protected formReactiveService: FormReactiveService,
|
protected formReactiveService: FormReactiveService,
|
||||||
|
|
Loading…
Reference in New Issue