mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
One more fix for #5893
This commit is contained in:
parent
83692696ba
commit
d45e90e358
|
@ -97,7 +97,7 @@ class LoginController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if the user already exists in the database and was imported via LDAP
|
// Check if the user already exists in the database and was imported via LDAP
|
||||||
$user = User::where('username', '=', Input::get('username'))->whereNull('deleted_at')->where('ldap_import', '=', 1)->where('active', '=', '1')->first();
|
$user = User::where('username', '=', Input::get('username'))->whereNull('deleted_at')->where('ldap_import', '=', 1)->where('activated', '=', '1')->first();
|
||||||
LOG::debug("Local auth lookup complete");
|
LOG::debug("Local auth lookup complete");
|
||||||
|
|
||||||
// The user does not exist in the database. Try to get them from LDAP.
|
// The user does not exist in the database. Try to get them from LDAP.
|
||||||
|
|
Loading…
Reference in a new issue