aboutsummaryrefslogtreecommitdiff
path: root/views/login/index.php
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-26 22:00:21 +0200
committerSyndamia <kamen@syndamia.com>2025-01-26 22:21:31 +0200
commitedf446fae669f3370609f5a955c3d6c863a93524 (patch)
treec46984167cc5b79c51b243602f7a4837d428fd82 /views/login/index.php
parent73ad3e330be1a6849269fec5d4b7b42b0330cede (diff)
downloadnowayforward_human-edf446fae669f3370609f5a955c3d6c863a93524.tar
nowayforward_human-edf446fae669f3370609f5a955c3d6c863a93524.tar.gz
nowayforward_human-edf446fae669f3370609f5a955c3d6c863a93524.zip
feat: Replace sessionStorage with (custom) cookieStorage
Diffstat (limited to 'views/login/index.php')
-rw-r--r--views/login/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/login/index.php b/views/login/index.php
index 94faafe..da0d8e2 100644
--- a/views/login/index.php
+++ b/views/login/index.php
@@ -10,7 +10,7 @@
</span></p>
<?php else: ?>
<script type="text/javascript">
- sessionStorage.setItem("token", "<?= $token ?>");
+ cookieStorage.setItem("token", "<?= $token ?>");
window.location.href = "/";
</script>
<?php endif; ?>