Error if user already exists, clean user

This commit is contained in:
Thomas Forgione
2017-09-29 10:30:19 +02:00
parent dff2c4bbb8
commit aa88b397d8
6 changed files with 35 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ extends ../../../templates/base.pug
block content
.jumbotron
h1.display-3 Welcome#{session.user !== undefined ? ', ' + session.user._username.value : ' on ADEjs'}!
h1.display-3 Welcome#{session.user !== undefined ? ', ' + session.user.username : ' on ADEjs'}!
if session.user === undefined
p.lead.
On this site, you can subscribe, set your calendar information