[Phpslash-commit] CVS: phpslash-ft/class slashAuthCR.class,1.36,1.37
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-02-05 17:51:40
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv24340/phpslash-ft/class Modified Files: slashAuthCR.class Log Message: user_info cookie was always being set on login Index: slashAuthCR.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuthCR.class,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** slashAuthCR.class 9 Jan 2003 21:48:22 -0000 1.36 --- slashAuthCR.class 5 Feb 2003 17:51:36 -0000 1.37 *************** *** 192,197 **** // expire cache for this session ! jpcache_gc('string', "-slashSess-" . $sess->id, "100"); ! return $uid; } else { --- 192,198 ---- // expire cache for this session ! if(function_exists('jpcache_gc')) { ! jpcache_gc('string', "-slashSess-" . $sess->id, "100"); ! } return $uid; } else { *************** *** 312,316 **** return false; } else { ! if(isset($setcookie)){ $cookie_challenge = md5($this->magic .":". $this->psl['basedir']); $md5_pw = $this->db->Record['password']; // this is the raw MD5ed user/pass combo --- 313,317 ---- return false; } else { ! if(!empty($setcookie)){ $cookie_challenge = md5($this->magic .":". $this->psl['basedir']); $md5_pw = $this->db->Record['password']; // this is the raw MD5ed user/pass combo *************** *** 351,356 **** // expire cache for this session ! jpcache_gc('string', "-slashSess-" . $sess->id, "100"); ! return $uid; } --- 352,358 ---- // expire cache for this session ! if(function_exists('jpcache_gc')) { ! jpcache_gc('string', "-slashSess-" . $sess->id, "100"); ! } return $uid; } |