Chapter 9: Authenticating with Express.js
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title> <%= title %> </title>
|
||||
<title> Express </title>
|
||||
</head>
|
||||
<body>
|
||||
<h1> <%= title %> </h1>
|
||||
<p> Welcome to <%= title %> </p>
|
||||
<h1> Express </h1>
|
||||
<p> Welcome to Express </p>
|
||||
<% if (user) { %>
|
||||
<p> Hello <%= user.name %>! </p>
|
||||
<p> <a href=/auth/logout> Logout </a> </p>
|
||||
|
||||
Reference in New Issue
Block a user