@tomei/sso 0.51.6 → 0.51.8

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/sso",
3
- "version": "0.51.6",
3
+ "version": "0.51.8",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -574,7 +574,12 @@ export class User extends UserBase {
574
574
  const sessionId: string = randomUUID();
575
575
 
576
576
  if (systemLogin) {
577
+ const privileges = await this.getPrivileges(
578
+ system.SystemCode,
579
+ dbTransaction,
580
+ );
577
581
  systemLogin.sessionId = sessionId;
582
+ systemLogin.privileges = privileges;
578
583
  userSession.systemLogins.map((system) =>
579
584
  system.code === systemCode ? systemLogin : system,
580
585
  );