@ofidj/generator-fidj 1.7.3 → 1.8.0
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.
|
@@ -437,7 +437,14 @@ function render() {
|
|
|
437
437
|
askedProvider = true;
|
|
438
438
|
void (async () => {
|
|
439
439
|
if (!(await providerRendersHere())) return;
|
|
440
|
-
|
|
440
|
+
// Being recognised again is the one thing somebody who just signed out did
|
|
441
|
+
// not ask for, and this shortcut is what made a sign-out undoable by a page
|
|
442
|
+
// reload. Ending the provider session is what should make that impossible,
|
|
443
|
+
// and that call can be refused — so here the screen asks rather than
|
|
444
|
+
// assumes, until somebody signs in again.
|
|
445
|
+
window.location.assign(
|
|
446
|
+
await oidc.beginLogin(oidc.signedOutHere() ? { prompt: "login" } : {}),
|
|
447
|
+
);
|
|
441
448
|
})();
|
|
442
449
|
}
|
|
443
450
|
|