projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better description of brisk->add_user method
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
6bf400b
..
de60682
100644
(file)
--- 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 == -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)
*/
function add_user(&$sess, &$idx, $name, $pass, $ip, $header, $cookie)