fix active value

This commit is contained in:
Hugo Renard 2022-03-17 11:09:39 +01:00
parent 655b600292
commit 90b338f7e4
Signed by: hougo
GPG key ID: 3A285FD470209C59

View file

@ -23,8 +23,8 @@ export class SCIMUser implements ISCIMResource {
user.userName = rc.username; user.userName = rc.username;
user.meta.created = new Date(rc.createdAt); user.meta.created = new Date(rc.createdAt);
user.meta.lastModified = new Date(rc.createdAt); user.meta.lastModified = new Date(rc.createdAt);
if (user.active !== undefined) { if (rc.active !== undefined) {
user.active = user.active; user.active = rc.active;
} }
return user; return user;
} }