Authentication

This commit is contained in:
2019-10-07 01:46:38 +02:00
parent 7083711fd5
commit 78c35b2ac3
9 changed files with 472 additions and 36 deletions

5
views/layout.pug Normal file
View File

@@ -0,0 +1,5 @@
html
head
title Kredens - #{title}
body
block content

12
views/login.pug Normal file
View File

@@ -0,0 +1,12 @@
extends layout.pug
block content
form(method="post")
input(type="hidden", name="_csrf", "value"=csrfToken)
p
label(for="email") Email
input(type="email", name="email")
p
label(for="password") Password
input(type="password", name="password")
input(type="submit")