From 5c8a15c3d7fe350cc86abef06f3f0c11a18ea464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Biel?= Date: Wed, 12 Jul 2017 00:28:51 +0200 Subject: [PATCH] fix `sessionCookie` number in onAccessCheck --- doc/api/hooks_server-side.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.