X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=de606829605ad11f461d664b95739dab38e04a53;hb=07c17bc6b57350654f6da42b27dc57ac3ea6d8ad;hp=6bf400ba2bb70812e7b8736fac44ba5583db25f6;hpb=d90941dfd991d46e818501c8031702744d23eed0;p=brisk.git 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)