Skip to content

Commit 0201634

Browse files
committed
check if isAuthenticated is a func / exists
1 parent 01b82f7 commit 0201634

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function registerFakeAuth() {
179179
return await handleServiceUrl(req, res)
180180
}
181181

182-
if (!req.isAuthenticated()) {
182+
if (!req.isAuthenticated) {
183183
return res.redirect("/auth")
184184
}
185185

0 commit comments

Comments
 (0)