]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_reg.php
Added ability to allow empty passwords, if the user does so, a random password will...
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index ebe99458fe2219811c70754f0a8c47dd42bb65e3..757c9634159ad0d186c0579be0d4b2bea59d2153 100644 (file)
@@ -182,7 +182,7 @@ if (isFormSent()) {
                                $formErrors[] = '{--SPONSOR_PASSWORD2_EMPTY--}';
                        }
                }
-       } elseif (strlen(postRequestParameter('pass1')) < getConfig('pass_len')) {
+       } elseif (strlen(postRequestParameter('pass1')) < getPassLen()) {
                // Password is to short!
                $formErrors[] = '{--SPONSOR_PASSWORD_TOO_SHORT--}';
        }