mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
added a security manager to control pad access on group pads
This commit is contained in:
parent
3c99e07030
commit
d0e378f63a
3 changed files with 291 additions and 38 deletions
|
@ -104,11 +104,14 @@ function handshake()
|
|||
token = randomString();
|
||||
createCookie("token", token, 60);
|
||||
}
|
||||
|
||||
var sessionID = readCookie("sessionID");
|
||||
|
||||
var msg = {
|
||||
"component": "pad",
|
||||
"type": "CLIENT_READY",
|
||||
"padId": padId,
|
||||
"sessionID": sessionID,
|
||||
"token": token,
|
||||
"protocolVersion": 2
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue