Hello Joomla Team,
I'm not sure where to post this so hopefully this is fine. Please move to the correct forum if you need to do so.
In j1.5.14 there is no MUST_SUPPLY_PASSWORD text in language/en_GB/en-GB.com_user.ini
However, in components/com_user/models/reset.php there is the following code:
Around line 155:
Code:
// Make sure that we have a pasword
if ( ! $password1 )
{
$this->setError(JText::_('MUST_SUPPLY_PASSWORD'));
return false;
}
When trying to reset a password and you don't fill out the form and hit submit you will see the error:
Quote:
Your password reset failed because MUST_SUPPLY_PASSWORD.
Steps taken to reproduce:
1.) Create a user in the joomla user manager and specify a valid email address.
2.) Create a login module
3.) Click "Forgot your password" link and fill in your email address
4.) Receive email with "token" to reset password.
5.) Click on supplied link in email to reset password
6.) On the Confirm your account page enter the token you received in the email.
7.) On the Reset password page hit submit without filling anything out.
8.) See the joomla error specified above
To fix it, I opened language/en_GB/en-GB.com_user.ini and added the following:
Code:
MUST_SUPPLY_PASSWORD=you must supply a password
So now the error message reads:
Code:
Your password reset failed because you must supply a password.
Certainly not too big of a deal since I would guess most people are not going to be submitting the form blank but easily fixable nonetheless. I was just testing out what error messages pop up when you don't specify proper information (or no information) in the password reset forms.
Mark