Bladeren bron

#4588 - Account locking stopped working

roman.lesnikov@gmail.com 2 jaren geleden
bovenliggende
commit
062e3916c1
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      inc/profiles.inc.php

+ 1 - 0
inc/profiles.inc.php

@@ -239,6 +239,7 @@ function bx_check_password($sLogin, $sPassword, $iRole = BX_DOL_ROLE_MEMBER)
 		if (bx_is_api()){
             return [strip_tags(_t("_sys_txt_login_locked", bx_absolute_url(BxDolPermalinks::getInstance()->permalink('page.php?i=forgot-password'))),''), bx_api_get_relative_url(BxDolPermalinks::getInstance()->permalink('page.php?i=forgot-password'))];
         }
+        return _t("_sys_txt_login_locked", bx_absolute_url(BxDolPermalinks::getInstance()->permalink('page.php?i=forgot-password')));
 	}
 
     $aAccountInfo = $oAccount->getInfo();