mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 17:27:37 -05:00
Fixing the crashing and pain
This commit is contained in:
@@ -27,7 +27,6 @@ exports.isLoggedIn = function (req, res, next) {
|
|||||||
|
|
||||||
exports.authenticated = function (req, res, next) {
|
exports.authenticated = function (req, res, next) {
|
||||||
res.header('Cache-Control', 'private, no-cache, no-store, must-revalidate');
|
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()) {
|
if (req.isAuthenticated()) {
|
||||||
var clientUser = (({
|
var clientUser = (({
|
||||||
firstName,
|
firstName,
|
||||||
|
|||||||
Reference in New Issue
Block a user