fix: uncomment unauthorized page code

This commit is contained in:
afn 2023-03-07 03:28:07 -05:00
parent 3f441ac6f8
commit 8af94e8c3a

View File

@ -100,17 +100,17 @@
// update ui // update ui
logos = logos; logos = logos;
// if (location.hash !== '') { if (location.hash !== '') {
// try { try {
// await exchange_token(location.hash.substring(1)); await exchange_token(location.hash.substring(1));
// } catch (err) { } catch (err) {
// alert(`Could not exchange the token: ${err}`); alert(`Could not exchange the token: ${err}`);
// } }
// } else if (localStorage.getItem('killswitch') === null) { } else if (localStorage.getItem('killswitch') === null) {
// await goto('/poll/unauthorized/'); await goto('/poll/unauthorized/');
// } else { } else {
// alert('Warning: no token!'); alert('Warning: no token!');
// } }
}); });
function previousPage() { function previousPage() {