Skip to content

Commit e06b870

Browse files
committed
fix: entitlements were not getting refreshed evry 10 minutes
1 parent 862a486 commit e06b870

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/login-service.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ define(function (require, exports, module) {
369369
return;
370370
}
371371
setTimeout( async function() {
372+
// prime the entitlement monitor with the current effective entitlements, after app start, the system would
373+
// have resolved any existing login info by now and effective entitlements would be available if any.
372374
lastRecordedState = await getEffectiveEntitlements(false);
373375
}, 30000);
374376
setInterval(async () => {

0 commit comments

Comments
 (0)