1
0
Fork 0

Fix update user password confirm message

This commit is contained in:
Chocobozzz 2023-03-06 14:40:39 +01:00
parent 9e401fde36
commit 16b7ad790b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 5 additions and 5 deletions

View File

@ -224,7 +224,7 @@
<div class="form-group">
<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 *ngIf="user.twoFactorEnabled" class="form-group">

View File

@ -11,11 +11,11 @@ import { UserUpdate } from '@shared/models'
styleUrls: [ './user-password.component.scss' ]
})
export class UserPasswordComponent extends FormReactive implements OnInit {
error: string
username: string
showPassword = false
@Input() userId: number
@Input() username: string
error: string
showPassword = false
constructor (
protected formReactiveService: FormReactiveService,