Browse Source

updated Libraries/Aauth (fixed login with username)

v3-dev
REJack 6 years ago
parent
commit
ecd2f027d8
No known key found for this signature in database
GPG Key ID: 4A44B48700429F46
  1. 2
      application/Libraries/Aauth.php

2
application/Libraries/Aauth.php

@ -643,7 +643,7 @@ class Aauth
return false; return false;
} }
if ($user = $userModel->where('username', $identifier)->first()) if (! $user = $userModel->where('username', $identifier)->first())
{ {
$this->error(lang('Aauth.notFoundUser')); $this->error(lang('Aauth.notFoundUser'));

Loading…
Cancel
Save