mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-07 21:26:45 +02:00
quick formatting clean up
This commit is contained in:
parent
8cd9b98b76
commit
e1fa43e640
@ -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…
x
Reference in New Issue
Block a user