aboutsummaryrefslogtreecommitdiff
path: root/views/list/new/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/list/new/index.php')
-rw-r--r--views/list/new/index.php8
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>