add an unauthorized page
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>User | IPost</title>
|
||||
<% if(user.username === undefined) { %>
|
||||
<script> document.location.href = '/no_login?r='+encodeURIComponent(document.location.pathname) </script>
|
||||
<% } %>
|
||||
<%- newrelic %>
|
||||
<style>
|
||||
<%- globalcss %>
|
||||
|
||||
Reference in New Issue
Block a user