Reset password annoyances

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Reset password annoyances

Post by paulbaker »

I had to reset a password on a site, for the first time IIRC. Three things.

1. Usability has been reduced considerably by making the second password box (labelled "Password (again)") a text box you are unable to paste in:

<input id="lbpasswordagain" name="passwordagain" type="password" size="15" placeholder="Password (again)" maxlength="25" onpaste="return false;"/>

There is no such restriction on the first password box.

Can that restriction be taken away please? It just makes things considerably more difficult when trying to use long complex passwords and pasting them in from a password manager such as Keepass.

2. The "maxlength" parameter of the "lbpasswordagain" input field is 25 but the same paramenter of the "lbpassword" is 100. These should match.

3. Because of (1) I had to manually enter a new long password and, of course, I got it wrong. I saw the below error message - there is no space between the 2 phrases "Passwords do not matchUser name or password incorrect"
pass.jpg
(This was using a 2.1.6 site).
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
scooper
Forum Members
Forum Members
Posts: 242
Joined: Fri Dec 09, 2005 12:36 pm

Re: Reset password annoyances

Post by scooper »

Already logged as a bug and fixed.

Certainly in 2.2.4 all the max-lengths match now and you can paste.

The error message now seems to work in a slightly different way as well so the spelling error doesn't apply either.

Happy Birthday for the other day btw.

s.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Reset password annoyances

Post by paulbaker »

Oooooh that's awesome, thanks scooper. And thanks for your birthday wishes too.

Have you ever considered joining the dev team? Hint hint. O0
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “CMSMS Core”