diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-02 09:46:44 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-02 09:46:44 +0200 |
| commit | a6f29034d18d5a5ce48d879845cce3544b0f8a3c (patch) | |
| tree | 8114c4ca6af34e04ecbab67a2359be7d92951db7 /views/list/new/index.php | |
| parent | 40b78735aeba6082363e6a8d98b78da9ba230687 (diff) | |
| download | nowayforward_human-a6f29034d18d5a5ce48d879845cce3544b0f8a3c.tar nowayforward_human-a6f29034d18d5a5ce48d879845cce3544b0f8a3c.tar.gz nowayforward_human-a6f29034d18d5a5ce48d879845cce3544b0f8a3c.zip | |
feat: Create require_login helper function and improve list update page
Diffstat (limited to 'views/list/new/index.php')
| -rw-r--r-- | views/list/new/index.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/views/list/new/index.php b/views/list/new/index.php index 7f1aaf5..cc680b5 100644 --- a/views/list/new/index.php +++ b/views/list/new/index.php @@ -1,12 +1,6 @@ <?php - if (isset($list_status) && $list_status === "") { - } + require_login(); ?> -<script type="text/javascript"> - if (!cookieStorage.getItem('token')) { - window.location.href = '/login'; - } -</script> <h1>Create a new list</h1> |
