@tomei/sso 0.29.1 → 0.29.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/components/login-user/login-user.js +5 -4
- package/dist/src/components/login-user/login-user.js.map +1 -1
- package/dist/src/models/user-group.entity.js +1 -0
- package/dist/src/models/user-group.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/login-user/login-user.ts +4 -4
- package/src/models/user-group.entity.ts +1 -0
package/package.json
CHANGED
@@ -309,9 +309,9 @@ export class LoginUser extends LoginUserBase {
|
|
309
309
|
const userAttr: IUserAttr = {
|
310
310
|
UserId: user.UserId,
|
311
311
|
UserName: user.UserName,
|
312
|
-
FullName: user
|
313
|
-
IDNo: user
|
314
|
-
ContactNo: user
|
312
|
+
FullName: user?.Staff?.FullName,
|
313
|
+
IDNo: user?.Staff?.IdNo,
|
314
|
+
ContactNo: user?.Staff?.Mobile,
|
315
315
|
Email: user.Email,
|
316
316
|
Password: user.Password,
|
317
317
|
Status: user.Status,
|
@@ -329,7 +329,7 @@ export class LoginUser extends LoginUserBase {
|
|
329
329
|
CreatedAt: user.CreatedAt,
|
330
330
|
UpdatedById: user.UpdatedById,
|
331
331
|
UpdatedAt: user.UpdatedAt,
|
332
|
-
staffs: user
|
332
|
+
staffs: user?.Staff,
|
333
333
|
};
|
334
334
|
|
335
335
|
return new LoginUser(sessionService, dbTransaction, userAttr);
|