@tomei/sso 0.28.5 → 0.28.6
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -369,9 +369,9 @@ export class LoginUser extends LoginUserBase {
|
|
369
369
|
const userAttr: IUserAttr = {
|
370
370
|
UserId: user.UserId,
|
371
371
|
UserName: user.UserName,
|
372
|
-
FullName: user
|
373
|
-
IDNo: user
|
374
|
-
ContactNo: user
|
372
|
+
FullName: user?.Staff?.FullName || null,
|
373
|
+
IDNo: user?.Staff?.IdNo || null,
|
374
|
+
ContactNo: user?.Staff?.Mobile || null,
|
375
375
|
Email: user.Email,
|
376
376
|
Password: user.Password,
|
377
377
|
Status: user.Status,
|
@@ -389,7 +389,7 @@ export class LoginUser extends LoginUserBase {
|
|
389
389
|
CreatedAt: user.CreatedAt,
|
390
390
|
UpdatedById: user.UpdatedById,
|
391
391
|
UpdatedAt: user.UpdatedAt,
|
392
|
-
staffs: user
|
392
|
+
staffs: user?.Staff || null,
|
393
393
|
};
|
394
394
|
|
395
395
|
this.UserId = userAttr.UserId;
|