mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Merged.
This commit is contained in:
commit
e9f6a10039
6 changed files with 74 additions and 34 deletions
|
@ -35,7 +35,7 @@ var sessionManager = require("./SessionManager");
|
|||
exports.checkAccess = function (padID, sessionID, token, password, callback)
|
||||
{
|
||||
// it's not a group pad, means we can grant access
|
||||
if(padID.indexOf("$") == -1)
|
||||
/*if(padID.indexOf("$") == -1)
|
||||
{
|
||||
//get author for this token
|
||||
authorManager.getAuthor4Token(token, function(err, author)
|
||||
|
@ -46,7 +46,7 @@ exports.checkAccess = function (padID, sessionID, token, password, callback)
|
|||
|
||||
//don't continue
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
|
||||
var groupID = padID.split("$")[0];
|
||||
var padExists = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue