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
@@ -9,6 +9,9 @@
<%- globalcss %>
<%- loadfile("./css/posts.css") %>
</style>
<% if(user.username === undefined) { %>
<script> document.location.href = '/no_login?r='+encodeURIComponent(document.location.pathname) </script>
<% } %>
<script type="text/javascript" async>
<%- httppostjs %>
<%- htmlescapejs %>