From 25a60507687189263fdd24acb2065463c1ec7d33 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 30 Mar 2018 16:40:29 +0100 Subject: [PATCH] Fix checklogin api docs --- modules/page-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/page-login.php b/modules/page-login.php index 0d53158..de29723 100644 --- a/modules/page-login.php +++ b/modules/page-login.php @@ -64,7 +64,7 @@ register_module([ * @apiPermission Anonymous * * @apiParam {string} user The user name to login with. - * @apiParam {string} password The password to login with. + * @apiParam {string} pass The password to login with. * @apiParam {string} returnto The URL to redirect to upon a successful login. * * @apiError InvalidCredentialsError The supplied credentials were invalid. Note that this error is actually a redirect to ?action=login&failed=yes (with the returnto parameter appended if you supplied one)