@tomei/sso 0.51.6 → 0.51.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
|
);
|