[Phpslash-commit] CVS: phpslash-ft/public_html profile.php3,1.9,1.10
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-02-25 15:04:45
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv13468/phpslash-ft/public_html Modified Files: profile.php3 Log Message: change profile and lost password fixes Index: profile.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/profile.php3,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** profile.php3 20 Dec 2002 22:17:32 -0000 1.9 --- profile.php3 25 Feb 2003 15:04:11 -0000 1.10 *************** *** 16,50 **** START OF PAGE *****************************/ if ( $HTTP_GET_VARS['confirm']) { ! $confirm = $HTTP_GET_VARS['confirm']; ! $confirm_hash = base64_decode($confirm); ! $confirm_hash = unserialize($confirm_hash); ! // $confirm_hash = unserialize($HTTP_GET_VARS['confirm']); ! if($confirm_hash[2] == date("Ymd")) { ! $confirm_hash[2] = md5($auth->magic .":". $_PSL['basedir']); ! $HTTP_COOKIE_VARS['user_info'] = base64_encode(serialize($confirm_hash)); ! } } $auth->login_if(!$perm->have_perm('user')); - - - /* DEBUG */ - - /* - debug("HTTP_POST_VARS", $HTTP_POST_VARS); - debug("HTTP_GET_VARS", $HTTP_GET_VARS); - debug("author_id_ary", $author_id_ary); - debug("author_name_ary", $author_name_ary); - debug("real_name_ary", $author_name_ary); - debug("email", $email); - debug("quote", $quote); - debug("password", $password); - debug("permission", $permission); - */ - /* DEBUG */ - - $author = pslNew("Author"); $content = ''; --- 16,26 ---- START OF PAGE *****************************/ + $author = pslNew("Author"); if ( $HTTP_GET_VARS['confirm']) { ! $confirm_success = $author->confirmAuthor($HTTP_GET_VARS['confirm']); } $auth->login_if(!$perm->have_perm('user')); $content = ''; |