Chapter 9: Authenticating with Express.js

This commit is contained in:
Beth Griggs
2020-09-05 22:27:25 +01:00
parent cc55d0dfe1
commit 61e61007b8
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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>