[Phpslash-commit] CVS: phpslash-dev/include/modules/auth slashAuth.class,1.4,1.5
Brought to you by:
joestewart,
nhruby
From: Peter C. <kr...@us...> - 2004-10-18 17:06:48
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/auth In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4203 Modified Files: slashAuth.class Log Message: Make custom user-options available to the session Index: slashAuth.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/auth/slashAuth.class,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** slashAuth.class 22 Sep 2004 21:01:31 -0000 1.4 --- slashAuth.class 18 Oct 2004 17:06:39 -0000 1.5 *************** *** 219,222 **** --- 219,230 ---- $this->use_preferences(); } + // Copy across other options + foreach ($temparray as $k => $v) { + if (!isset($this->auth[$k])) { + // Make sure we dont overwrite anything that's already there + $this->auth[$k] = $v; + #debug("slashAuth option $k",$v); + } + } // expire cache for this session |