Browse Source
Merge pull request #2285 from olicooper/patch-2
Incorrect user form value assignment
pull/2291/head
Mehmet Erim
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts
|
|
|
@ -124,7 +124,7 @@ export class UsersComponent implements OnInit { |
|
|
|
name: [this.selected.name || '', [Validators.maxLength(64)]], |
|
|
|
surname: [this.selected.surname || '', [Validators.maxLength(64)]], |
|
|
|
phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]], |
|
|
|
lockoutEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)], |
|
|
|
lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)], |
|
|
|
twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)], |
|
|
|
roleNames: this.fb.array( |
|
|
|
this.roles.map(role => |
|
|
|
|