This commit is contained in:
Mikołaj Biel 2017-07-10 20:59:08 +02:00
parent f9203524a4
commit 2508b9749c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ var authLogger = log4js.getLogger("auth");
/**
* This function controlls the access to a pad, it checks if the user can access a pad.
* @param padID the pad the user wants to access
* @param sesssionID the session the user has (set via api)
* @param sessionCookie the session the user has (set via api)
* @param token the token of the author (randomly generated at client side, used for public pads)
* @param password the password the user has given to access this pad, can be null
* @param callback will be called with (err, {accessStatus: grant|deny|wrongPassword|needPassword, authorID: a.xxxxxx})