fix active value
This commit is contained in:
parent
655b600292
commit
90b338f7e4
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ export class SCIMUser implements ISCIMResource {
|
|||
user.userName = rc.username;
|
||||
user.meta.created = new Date(rc.createdAt);
|
||||
user.meta.lastModified = new Date(rc.createdAt);
|
||||
if (user.active !== undefined) {
|
||||
user.active = user.active;
|
||||
if (rc.active !== undefined) {
|
||||
user.active = rc.active;
|
||||
}
|
||||
return user;
|
||||
}
|
||||
|
|
Reference in a new issue