Update of /cvsroot/phpslash/phpslash-ft/class
In directory sc8-pr-cvs1:/tmp/cvs-serv3977/phpslash-ft/class
Modified Files:
slashAuthCR.class
Log Message:
corrected 'Account created, but validation failed'
Index: slashAuthCR.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuthCR.class,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** slashAuthCR.class 6 Feb 2003 20:28:20 -0000 1.38
--- slashAuthCR.class 19 Feb 2003 16:27:54 -0000 1.39
***************
*** 421,425 ****
function auth_doregister() {
! global $HTTP_POST_VARS;
if(empty($HTTP_POST_VARS)) {
--- 421,425 ----
function auth_doregister() {
! global $HTTP_POST_VARS, $challenge;
if(empty($HTTP_POST_VARS)) {
***************
*** 507,511 ****
$HTTP_POST_VARS['username'] = $username;
$HTTP_POST_VARS['password'] = $pass1;
! $HTTP_POST_VARS['challenge'] = md5(uniqid($this->magic));
$HTTP_POST_VARS['response'] = '';
// debug("username", $username);
--- 507,512 ----
$HTTP_POST_VARS['username'] = $username;
$HTTP_POST_VARS['password'] = $pass1;
! // $HTTP_POST_VARS['challenge'] = md5(uniqid($this->magic));
! $HTTP_POST_VARS['challenge'] = $challenge;
$HTTP_POST_VARS['response'] = '';
// debug("username", $username);
|