mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
quick formatting clean up
This commit is contained in:
parent
8cd9b98b76
commit
e1fa43e640
2 changed files with 3 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue