quick formatting clean up

This commit is contained in:
John McLear 2014-03-17 19:20:32 +00:00
parent 8cd9b98b76
commit e1fa43e640
2 changed files with 3 additions and 2 deletions

View file

@ -41,7 +41,7 @@ exports.basicAuth = function (req, res, next) {
req.session.user = settings.users[username];
return cb(true);
}
return hooks.aCallFirst("authenticate", {req: req, res:res, next:next, username: username, password: password}, hookResultMangle(cb));
return hooks.aCallFirst("authenticate", {req: req, res:res, next:next, username: username, password: password}, hookResultMangle(cb));
}
hooks.aCallFirst("authenticate", {req: req, res:res, next:next}, hookResultMangle(cb));
}

View file

@ -254,8 +254,9 @@ function handshake()
//the access was not granted, give the user a message
if(obj.accessStatus)
{
if(!receivedClientVars)
if(!receivedClientVars){
$('.passForm').submit(require(module.id).savePassword);
}
if(obj.accessStatus == "deny")
{