Update of /cvsroot/phpslash/phpslash-dev/include/modules/auth
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15090/phpslash-dev/include/modules/auth
Modified Files:
slashAuth.class
Log Message:
remember me preauth fix
Index: slashAuth.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/auth/slashAuth.class,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** slashAuth.class 29 Oct 2004 20:22:14 -0000 1.7
--- slashAuth.class 29 Oct 2004 20:47:18 -0000 1.8
***************
*** 212,216 ****
$this->auth["url"] = $user_info["url"];
$uid = $user_info["author_id"];
! $this->auth["perm"] = $this->get_userperms($uid);
// use preferences
--- 212,216 ----
$this->auth["url"] = $user_info["url"];
$uid = $user_info["author_id"];
! $this->get_userperms($uid);
// use preferences
***************
*** 394,398 ****
// load the user's permissions/group membership
! $this->auth["perm"] = $this->get_userperms( $uid);
// successful - no errors
--- 394,398 ----
// load the user's permissions/group membership
! $this->get_userperms( $uid);
// successful - no errors
***************
*** 719,723 ****
} //end while
! return $this->auth['perm'];
} // end of function get_userperms()
--- 719,723 ----
} //end while
! return true;
} // end of function get_userperms()
***************
*** 756,760 ****
loadClass('Author');
$author_ary = Author::getAuthor($arg_ary);
! $this->auth["perm"] = $this->get_userperms($author_ary['author_id']);
$this->auth["dname"] = $author_ary['author_realname'];
$this->auth["uname"] = $author_ary['author_name'];
--- 756,760 ----
loadClass('Author');
$author_ary = Author::getAuthor($arg_ary);
! $this->get_userperms($author_ary['author_id']);
$this->auth["dname"] = $author_ary['author_realname'];
$this->auth["uname"] = $author_ary['author_name'];
|