diff options
Diffstat (limited to 'views/login/index.php')
| -rw-r--r-- | views/login/index.php | 2 |
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; ?> |
