Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

ValidateStrenght alert. What does it mean and how to fix it?

Hi,

A visitor is trying to create a new account, but is being shown the alert ValidateStrenght in a red banner and so the registration is not completed.

I'm enclosing a screenshot. Any idea on what the issue could be?

Thank you!

Best Answer

  • Options
    R_JR_J Ex-Fanboy Munich Admin
    Answer ✓

    You should add a translation for that in your locale file:

    1. If it is not already existing, create a file /conf/locale.php
    2. Make sure the first line is <?php
    3. Add $Definition['ValidateStrength'] = 'your translation here'; to the end of that file.

    The original message is "The supplied %s is too weak. Try using a stronger password and use the strength meter as a guide."
    %s will be replace with the translation for "password" in this case (that's only a guess). Think of it as a placeholder and use it like that in your own translation.

Answers

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    It might mean that the password they entered is not strong enough . Or that you did not set up something right with regard to permissions and registration.

  • Options
    R_JR_J Ex-Fanboy Munich Admin
    Answer ✓

    You should add a translation for that in your locale file:

    1. If it is not already existing, create a file /conf/locale.php
    2. Make sure the first line is <?php
    3. Add $Definition['ValidateStrength'] = 'your translation here'; to the end of that file.

    The original message is "The supplied %s is too weak. Try using a stronger password and use the strength meter as a guide."
    %s will be replace with the translation for "password" in this case (that's only a guess). Think of it as a placeholder and use it like that in your own translation.

Sign In or Register to comment.