More authentication

This commit is contained in:
2019-10-07 23:31:51 +02:00
parent 78c35b2ac3
commit 409b8af6a3
17 changed files with 214 additions and 34 deletions

View File

@@ -1,8 +1,15 @@
html
head
title= title
body
h1= message
div#body
p I am a placeholder
script(src="/assets/main.bundle.js")
extends layout.pug
block content
if user
p.auth Hi, #{ user.email }
else
p.auth
| Who are you?
|
a(href="/auth") Login you coward.
div#body
p I am a placeholder
block scripts
script(src="/assets/main.bundle.js")

View File

@@ -3,3 +3,4 @@ html
title Kredens - #{title}
body
block content
block scripts