From 5bfa99229074381f9305927305c5d165e524bb72 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 17 Jul 2020 17:19:27 +0200 Subject: [PATCH] 10.2.04 login unknown notification --- CHANGES.md | 2 ++ core/module/user/user.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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é',