<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">
styleUrls: [ './user-password.component.scss' ]
})
export class UserPasswordComponent extends FormReactive implements OnInit {
+ @Input() userId: number
+ @Input() username: string
+
error: string
- username: string
showPassword = false
- @Input() userId: number
-
constructor (
protected formReactiveService: FormReactiveService,
private notifier: Notifier,