1
0
Fork 0

web - no session data fix for login page

master
Ruben Meyer 3 years ago
parent c4eb8811ad
commit 57f73a2372
  1. 4
      bin/web/views/blocks/login.pug

@ -1,6 +1,6 @@
append var
- if(!session.user) var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "ERROR - Please login", "active": true}};
- if(!session.user) var title = "Please login";
- if(!session || !session.user) var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "ERROR - Please login", "active": true}};
- if(!session || !session.user) var title = "Please login";
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right

Loading…
Cancel
Save