Authentication
This commit is contained in:
5
views/layout.pug
Normal file
5
views/layout.pug
Normal file
@@ -0,0 +1,5 @@
|
||||
html
|
||||
head
|
||||
title Kredens - #{title}
|
||||
body
|
||||
block content
|
||||
12
views/login.pug
Normal file
12
views/login.pug
Normal 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")
|
||||
Reference in New Issue
Block a user