SOLUTION - Check your password reset

GK User
Mon Jul 26, 2010 9:50 pm
Fortunately I discovered that users could not reset their passwords, kept getting invalid token.

Party Freak (maybe other Gavick templates) need to be changed so that the file templates/gk_party_freak/html/com_user/reset/confirm.php file looks something like:

Code: Select all
<?php





/*


#------------------------------------------------------------------------


# memovie - February 2010 (for Joomla 1.5)


#


# Copyright (C) 2007-2010 Gavick.com. All Rights Reserved.


# License: Copyrighted Commercial Software


# Website: http://www.gavick.com


# Support: [email protected]   


#------------------------------------------------------------------------


# Based on T3 Framework


#------------------------------------------------------------------------


# Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.


# @license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html


# Author: J.O.O.M Solutions Co., Ltd


#------------------------------------------------------------------------


*/

















defined('_JEXEC') or die('Restricted access');





?>











<h1 class="componentheading">





   <span><?php echo JText::_('Confirm your Account'); ?></span>





</h1>











<form action="<?php echo JRoute::_( 'index.php?option=com_user&task=confirmreset' ); ?>" method="post" class="josForm form-validate">





   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane">





      <tr>





         <td colspan="2" height="40">





            <p><?php echo JText::_('RESET_PASSWORD_CONFIRM_DESCRIPTION'); ?></p>





         </td>





      </tr>
        /**************  FIX FOR Password RESET - added row below  ******************/
        <tr>
           <label for="username" class="hasTip" title="<?php echo JText::_('RESET_PASSWORD_USERNAME_TIP_TITLE'); ?>::<?php echo JText::_('RESET_PASSWORD_USERNAME_TIP_TEXT'); ?>"><?php echo JText::_('User Name'); ?>:</label>
        <input id="username" name="username" type="text" class="required" size="36" />

       
       
       
        </tr>

         /**************  RESET FIX END  *************/



      <tr>





         <td height="40">





            <label for="token" class="hasTip" title="<?php echo JText::_('RESET_PASSWORD_TOKEN_TIP_TITLE'); ?>::<?php echo JText::_('RESET_PASSWORD_TOKEN_TIP_TEXT'); ?>"><?php echo JText::_('Token'); ?>:</label>





         </td>





         <td>





            <input id="token" name="token" type="text" class="required" size="36" />





         </td>





      </tr>





   </table>











   <button type="submit" class="validate"><?php echo JText::_('Submit'); ?></button>





   <?php echo JHTML::_( 'form.token' ); ?>





</form>








I would encourage everyone to check your password reset functionality. If it doesn't work, this likely is the solution.

SEE: Password Reset WikiDoc
User avatar
Senior Boarder

cron