diff --git a/CHANGES.md b/CHANGES.md index b87c4a96..76115c2c 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,8 @@ ## version 10.2.04 - Mise à jour : - Flatpickr 4.6.3 +- Correction : + - Connexion avec un compte inexistant, notification incorrecte. - Modifications : - Position de l'icône d'ouverture et de fermeture des blocs. - Thème administration, bouton standard couleur du texte au survol. diff --git a/core/module/user/user.php b/core/module/user/user.php index ddbbd739..4ab38f8f 100755 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -355,7 +355,7 @@ class user extends common { // Verrouillage des IP $ipBlackList = helper::arrayCollumn($this->getData(['blacklist']), 'ip'); if ( $this->getData(['blacklist',$userId,'connectFail']) >= $this->getData(['config', 'connect', 'attempt']) - OR in_array($this->getData(['blacklist',$userId,'ip']),$ipBlackList) ) { + AND in_array($this->getData(['blacklist',$userId,'ip']),$ipBlackList) ) { // Valeurs en sortie $this->addOutput([ 'notification' => 'Trop de tentatives, compte verrouillé',