Update of /cvsroot/phpslash/phpslash-dev/include/modules/auth
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30400
Modified Files:
slashAuth.class
Log Message:
fixed bug CR authentication
Index: slashAuth.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/auth/slashAuth.class,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** slashAuth.class 9 Nov 2004 22:50:18 -0000 1.10
--- slashAuth.class 9 Nov 2004 22:54:30 -0000 1.11
***************
*** 852,856 ****
if ($expected_response == $response) {
// success
! $is_user = true;
} else {
$this->auth["error"] = pslgetText("Either your username or password are invalid. Please try again.");
--- 852,856 ----
if ($expected_response == $response) {
// success
! $is_user = $user_info['author_id']
} else {
$this->auth["error"] = pslgetText("Either your username or password are invalid. Please try again.");
|