Add missing apostrophes (#2864)

pull/2873/head
Kim Hallberg 2 years ago committed by GitHub
parent 14a888f69e
commit 9f23ff0b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      content/guides/session-based-authentication.md

@ -83,7 +83,7 @@ module.exports = function HomeHandler(req, res) {
return res.redirect('/login'); return res.redirect('/login');
} }
res.setHeader('Content-Type', 'text/HTML) res.setHeader('Content-Type', 'text/HTML')
res.write(` res.write(`
<h1>Welcome back ${req.session.userid}</h1> <h1>Welcome back ${req.session.userid}</h1>
<a href="/logout">Logout</a> <a href="/logout">Logout</a>
@ -111,7 +111,7 @@ module.exports = function LoginHandler(req, res) {
return res.redirect('/'); return res.redirect('/');
} }
res.setHeader('Content-Type', 'text/HTML) res.setHeader('Content-Type', 'text/HTML')
res.write(` res.write(`
<h1>Login</h1> <h1>Login</h1>
<form method="post" action="/process-login"> <form method="post" action="/process-login">

Loading…
Cancel
Save