diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-08 17:34:13 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-08 17:34:13 +0200 |
| commit | 2c1952705148b57b39638436f18a739518308ec6 (patch) | |
| tree | da9a6cd053b5b84f340aa1477e23b0f82f5c25f8 /views | |
| parent | 4f658a004e576d9279c2b3dee24e436a353b39d0 (diff) | |
| download | nowayforward_human-2c1952705148b57b39638436f18a739518308ec6.tar nowayforward_human-2c1952705148b57b39638436f18a739518308ec6.tar.gz nowayforward_human-2c1952705148b57b39638436f18a739518308ec6.zip | |
feat(views/user): Automatically login on register
Diffstat (limited to 'views')
| -rw-r--r-- | views/user/create/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/user/create/index.php b/views/user/create/index.php index 223ab9b..658d5de 100644 --- a/views/user/create/index.php +++ b/views/user/create/index.php @@ -12,6 +12,10 @@ <p class="item success"> Success! </p> + <script type="text/javascript"> + cookieStorage.setItem("token", "<?= $token ?>"); + window.location.href = "/"; + </script> <?php endif; ?> <?php endif; ?> |
