Skip to content

Commit ba46128

Browse files
committed
Fix typo in server/js/user.js
1 parent 01dd8e6 commit ba46128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-portal/server/js/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function passportAuthenticate(req, res, next) {
121121
console.log("Error in logging login: " + err);
122122
}
123123
if(user.uname)
124-
if (user.uname == "guest") && (req.query.autologin != undefined) {
124+
if ((user.uname == "guest") && (req.query.autologin != undefined)) {
125125
const newQuery={};
126126
newQuery.autologin="";
127127
if(req.query.notecards != undefined) newQuery.notecards="";

0 commit comments

Comments
 (0)