Avatar

Changing password error message in 2.4.2 (Bugs)

by Auge ⌂ @, Saturday, May 27, 2017, 15:30 (198 days ago) @ Magma

When changing your password If your new password does not match your repeat new password the error message that comes up is

Error!

  • Array

instead of telling you what the error is. Can you advise if this can be changed easily.

The check for equality of the new password and it's reentry will be executed in user.inc.php, line #755. The key of the language string is named "error_pw_conf_wrong" and occurs two times in the language files. In the english.lang it's first occurence is in line #183, the second occurence in line #631.

A simple solution would be to rename one of the keys (i.e. the second one (line #631) to "error_pw_conf_uneven") but so we hold one string twice. I will check, if we can remove the second string without breaking something.

Tschö, Auge

--
further development of mlf1


Complete thread:

 RSS Feed of thread

powered by my little forum