Fixing the crashing and pain

This commit is contained in:
Luke Berndt
2023-04-13 20:45:38 -04:00
parent 635a7c469c
commit d4204b87f1

View File

@@ -27,7 +27,6 @@ exports.isLoggedIn = function (req, res, next) {
exports.authenticated = function (req, res, next) {
res.header('Cache-Control', 'private, no-cache, no-store, must-revalidate');
console.log("account/server/controllers/users.js - exports.authenticated() Auth check for user: " + req.user.email + " is: " + req.isAuthenticated());
if (req.isAuthenticated()) {
var clientUser = (({
firstName,