mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Merge branch 'master' of github.com:Pita/etherpad-lite
This commit is contained in:
commit
dc6d0cda68
7 changed files with 47 additions and 24 deletions
|
@ -70,7 +70,7 @@ var functions = {
|
|||
exports.handle = function(functionName, fields, req, res)
|
||||
{
|
||||
//check the api key!
|
||||
if(fields["apikey"] != apikey)
|
||||
if(fields["apikey"] != apikey.trim())
|
||||
{
|
||||
res.send({code: 4, message: "no or wrong API Key", data: null});
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue