From: Matteo Nastasi (mop) Date: Mon, 12 Jan 2015 16:56:26 +0000 (+0100) Subject: better description of brisk->add_user method X-Git-Tag: v4.17.0~4 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=07c17bc6b57350654f6da42b27dc57ac3ea6d8ad;p=brisk.git better description of brisk->add_user method --- 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)