Update of /cvsroot/phpslash/phpslash-dev/include/modules/auth/authtypes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29233
Modified Files:
slashAuthLDAP.class
Log Message:
ldap authenticate works the first time users get registered in sql for psl db
Index: slashAuthLDAP.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/auth/authtypes/slashAuthLDAP.class,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** slashAuthLDAP.class 29 Oct 2004 22:12:34 -0000 1.12
--- slashAuthLDAP.class 9 Nov 2004 22:48:53 -0000 1.13
***************
*** 202,205 ****
--- 202,206 ----
$this->auth["realname"] = $new_info['realname'];
debug("auth",$this->auth);
+ return $new_info['author_id'];
} else {
debug("user","Could not register authenticated user in SQL db");
***************
*** 207,210 ****
--- 208,212 ----
}
return true;
+ //return $uid; /* TODO we should be returning $UID of some kind */
} else {
// failed - return with error message
|