From ecd2f027d81c0eb2c34b8eb1ed0baa39eff97731 Mon Sep 17 00:00:00 2001 From: REJack Date: Sun, 9 Dec 2018 18:00:34 +0100 Subject: [PATCH] updated Libraries/Aauth (fixed login with username) --- application/Libraries/Aauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Libraries/Aauth.php b/application/Libraries/Aauth.php index 1b6af27..6ebe938 100644 --- a/application/Libraries/Aauth.php +++ b/application/Libraries/Aauth.php @@ -643,7 +643,7 @@ class Aauth return false; } - if ($user = $userModel->where('username', $identifier)->first()) + if (! $user = $userModel->where('username', $identifier)->first()) { $this->error(lang('Aauth.notFoundUser'));