Welcome Guest, Not a member yet? Register   Sign In
Myth Auth strong_password
#8

PHP Code:
    public $personalFields = [
        'company_name''company_vat''company_coc''first_name''last_name'
        'address''number''extra_nr''zipcode''city''country''phone''comments'
    ]; 

Really big list.
In your case validation goes thru NothingPersonalValidator.php class - isNotPersonal() method.
This method looks for personal information in a password. For example first of all it checks is your password equal to your username or email address or the reversed username.
If you have also filled $personalFields , then method will also get there values too to look for personal information. Considering 13 variables in your list there is really big chance that validation will fail.
For example: in "number" field you have a value "95". In this situation validation will fail.
Quick solution in your case is comment from $passwordValidators array nothingPersonalValidator class.
Reply


Messages In This Thread
Myth Auth strong_password - by superior - 07-27-2022, 12:06 PM
RE: Myth Auth strong_password - by manager - 07-27-2022, 11:30 PM
RE: Myth Auth strong_password - by superior - 07-28-2022, 12:09 AM
RE: Myth Auth strong_password - by manager - 07-28-2022, 01:40 AM
RE: Myth Auth strong_password - by superior - 07-28-2022, 02:19 AM
RE: Myth Auth strong_password - by manager - 07-28-2022, 03:13 AM
RE: Myth Auth strong_password - by superior - 07-28-2022, 03:54 AM
RE: Myth Auth strong_password - by manager - 07-28-2022, 04:15 AM
RE: Myth Auth strong_password - by superior - 07-28-2022, 04:24 AM
RE: Myth Auth strong_password - by manager - 07-28-2022, 04:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB