Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8e12dd9c17
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (36 sloc) 0.777 kb
<!DOCTYPE html>
<title>Authentication Example</title>
body {
padding: 50px;
font: 13px Helvetica, Arial, sans-serif;
.error {
color: red
.success {
color: green;
<%- message %>
Try accessing <a href="/restricted">/restricted</a>, then authenticate with "tj" and "foobar".
<form method="post" action="/login">
<input type="text" name="username">
<input type="text" name="password">
<input type="submit" value="Login">
Jump to Line
Something went wrong with that request. Please try again.