add an unauthorized page

This commit is contained in:
Mystikfluu
2022-11-30 22:44:31 +01:00
parent 77ae066e46
commit 3a15b47fb1
11 changed files with 80 additions and 18 deletions
+3
View File
@@ -28,6 +28,9 @@
padding-bottom: 2px;
}
</style>
<% if(user.username === undefined) { %>
<script> document.location.href = '/no_login?r='+encodeURIComponent(document.location.pathname) </script>
<% } %>
</head>
<body>
<main>