mustbe
Version:
Authorization plumbing for Node+Express apps
25 lines (20 loc) • 521 B
text/jade
extends layout
block content
h1 Login
p
| log in with any username and password you want. this is
| just a demo, so there it accepts anything you type in.
p
| if you want to be an admin user, log in with the "admin"
| username and any password.
form(action="/login", method="post")
p
label Username:
br
input(type="text", name="username")
p
label Password:
br
input(type="password", name="password")
p
input(type="submit", value="Login")