X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-sponsor_reg.php;h=757c9634159ad0d186c0579be0d4b2bea59d2153;hp=ebe99458fe2219811c70754f0a8c47dd42bb65e3;hb=7db85bc0c45b62c28ba49e728f489ad4bc1c115f;hpb=794052dcd2f66a3e655c9e0d4865c23f44e79166 diff --git a/inc/modules/guest/what-sponsor_reg.php b/inc/modules/guest/what-sponsor_reg.php index ebe99458fe..757c963415 100644 --- a/inc/modules/guest/what-sponsor_reg.php +++ b/inc/modules/guest/what-sponsor_reg.php @@ -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--}'; }