FEUser error message passwort length

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
map_1961
Power Poster
Power Poster
Posts: 410
Joined: Fri Apr 20, 2007 7:26 pm

FEUser error message passwort length

Post by map_1961 »

Hi there:
using latest cmsms version 2.2.5 and FEUser 2.8. module the error message apears when on registration typed in password is to short or to long:

"(Password must be %s to %s digits long)"

So the placeholders don't drag the settingsd digits given in the backend site admin -> FrontEndUser Settings - uiltin Authentication tab:
Length of password field: 6
Minimum Password Length: 20

Is it a bug or do i make any mistake?

Thx

MAP
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: FEUser error message passwort length

Post by calguy1000 »

That text is not from SelfRegistration or FrontEndUsers:
I looked for that code in both of the latest released versions.
rob@rob-desktop /tmp/tmp $ tar zxf ~/Downloads/FrontEndUsers-2.8.tar.gz
rob@rob-desktop /tmp/tmp $ tar zxf ~/Downloads/SelfRegistration-1.12.tar.gz
rob@rob-desktop /tmp/tmp $ grep -ir digits *
rob@rob-desktop /tmp/tmp $
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
map_1961
Power Poster
Power Poster
Posts: 410
Joined: Fri Apr 20, 2007 7:26 pm

Re: FEUser error message passwort length

Post by map_1961 »

Hi Calguy - thanks answering.
Its my translation from German to English.

It comes from this line in de_DE.php in SelfReg / lang / ext module directory:
...
$lang['error_invalidpassword'] = 'Das Passwort ist ungültig (Passwörter müssen %s bis %s Zeichen lang sein)';
...

See a screenshoit of the result in the webbrowser at this picture link:
http://download.mp-p.com/map/2018_01_2 ... ength.jpg
Much worser however is that after registration
a. the user has to click in a verification link in the verification email he get's.
b. If he does he has to type in the password into the browser message that opens (verification form)
c. If i type in the password i set on registration process - i did it for three hours yesterday and with 20 different passwords - i get this message whatever i try: "Sorry, the password you entered is incorrect."
d. So currently nowbody can register!

If you like to try you can use this registration form on the live site (sorry its german):
https://www.papageienpark-bochum.de/de ... egister_g

Its a latest cmsms running on php version 7.1 (7.2 is possible).


Thx for caring

MAP

P.s.: we met 2015 in Gent!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: FEUser error message passwort length

Post by Rolf »

The German translation probably isn't up-to-date
I checked the original strings, they are different...
Screen Shot 2018-01-25 at 10.43.55.png
You are very welcome to join the German translation team: http://dev.cmsmadesimple.org/projects/german

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
map_1961
Power Poster
Power Poster
Posts: 410
Joined: Fri Apr 20, 2007 7:26 pm

Re: FEUser error message passwort length

Post by map_1961 »

Yes Rolf.

The en_US.php works different and does not use the variables any more. So i translated the en_US text for error_invalidpassword and use this translation in de_DE.php.
Thx so far!

MAP
User avatar
map_1961
Power Poster
Power Poster
Posts: 410
Joined: Fri Apr 20, 2007 7:26 pm

Re: FEUser error message passwort length

Post by map_1961 »

Maybe anyone has an idea how to solve this, too:
map_1961 wrote: Much worser however is that after registration
a. the user has to click in a verification link in the verification email he get's.
b. If he does he has to type in the password into the browser message that opens (verification form)
c. If i type in the password i set on registration process - i did it for three hours yesterday and with 20 different passwords - i get this message whatever i try: "Sorry, the password you entered is incorrect."
d. So currently nowbody can register!

If you like to try you can use this registration form on the live site (sorry its german):
https://www.papageienpark-bochum.de/de ... egister_g

Its a latest cmsms running on php version 7.1 (7.2 is possible).

I insert the issue into bugtracker ...
http://dev.cmsmadesimple.org/bug/view/11709

Thx 4 hints how 2 solve.

MAP
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm

Re: FEUser error message passwort length

Post by rotezecke »

it may not help in your case, but cannot harm to validate the html.
https://validator.w3.org/nu/?doc=https% ... ister_g%2F
Post Reply

Return to “Modules/Add-Ons”