mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-25 15:37:12 +00:00
tweak: re-enable re-auth popup closing
This commit is contained in:
@@ -227,7 +227,7 @@ router.get('/auth/revalidate-done', (req, res) => {
|
||||
var origin = ${JSON.stringify(origin)};
|
||||
if (window.opener) {
|
||||
try { window.opener.postMessage({ type: 'puter-revalidate-done' }, origin); } catch (e) {}
|
||||
// window.close();
|
||||
window.close();
|
||||
} else {
|
||||
document.body.innerHTML = '<p>Re-validated. You can close this tab.</p>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user