Website Summary Files Commits Branches @commit @diff @stats
path: root / views / login / index.php
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--views/login/index.php2
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; ?>