@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
@@ -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
|
);
|