From 07c17bc6b57350654f6da42b27dc57ac3ea6d8ad Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 12 Jan 2015 17:56:26 +0100 Subject: [PATCH] better description of brisk->add_user method --- web/Obj/brisk.phh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 6bf400b..de60682 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2290,7 +2290,7 @@ class Brisk * if ($idx == -3 && ret == FALSE) => wrong password * if ($idx == -1 && ret == FALSE) => no space left * if ($idx == 0 && ret == user) => SUCCESS - * if ($idx == -$idx && ret == user) => SUCCESS (but the login exists in the auth db) + * if ($idx == -($idx + 1) && ret == user) => SUCCESS (but the login exists in the auth db) */ function add_user(&$sess, &$idx, $name, $pass, $ip, $header, $cookie) -- 2.17.1