diff --git a/doc/api/hooks_server-side.md b/doc/api/hooks_server-side.md index bb1b53890..62e0e994e 100644 --- a/doc/api/hooks_server-side.md +++ b/doc/api/hooks_server-side.md @@ -116,7 +116,7 @@ Things in context: 1. padID - the pad the user wants to access 2. password - the password the user has given to access the pad 3. token - the token of the author -3. sessionCookie - the session the use has +4. sessionCookie - the session the use has This hook gets called when the access to the concrete pad is being checked. Return `false` to deny access.