mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
SecurityManager.js: early return, no functional changes
This commit is contained in:
parent
61823e7689
commit
6af419a88e
1 changed files with 5 additions and 5 deletions
|
@ -90,13 +90,13 @@ exports.checkAccess = function (padID, sessionCookie, token, password, callback)
|
||||||
// grant or deny access, with author of token
|
// grant or deny access, with author of token
|
||||||
callback(null, statusObject);
|
callback(null, statusObject);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// user may create new pads - no need to check anything
|
// user may create new pads - no need to check anything
|
||||||
else
|
|
||||||
{
|
|
||||||
// grant access, with author of token
|
// grant access, with author of token
|
||||||
callback(null, statusObject);
|
callback(null, statusObject);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//don't continue
|
//don't continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue