Skip to content

Commit 4cf10bb

Browse files
Merge pull request #382 from FabienDehopre/master
Refresh the timers after configuration has changed
2 parents f1e82b5 + f2e874a commit 4cf10bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/lib/src/oauth-service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ export class OAuthService extends AuthConfig implements OnDestroy {
138138
this.configChanged();
139139
}
140140

141-
protected configChanged(): void { }
141+
protected configChanged(): void {
142+
this.setupRefreshTimer();
143+
}
142144

143145
public restartSessionChecksIfStillLoggedIn(): void {
144146
if (this.hasValidIdToken()) {

0 commit comments

Comments
 (0)