Skip to content

Commit 4da7396

Browse files
committed
fixes signoutPopupCallback optional params not working DuendeArchive#623
1 parent 55e48a5 commit 4da7396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UserManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ export class UserManager extends OidcClient {
316316
}
317317
signoutPopupCallback(url, keepOpen) {
318318
if (typeof(keepOpen) === 'undefined' && typeof(url) === 'boolean') {
319+
keepOpen = url;
319320
url = null;
320-
keepOpen = true;
321321
}
322322

323323
let delimiter = '?';

0 commit comments

Comments
 (0)