mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Fix outdated AdLdap2 configuration files
This commit is contained in:
@@ -82,14 +82,8 @@ class LoginController extends Controller
|
||||
Log::channel('audit')->info(sprintf('User is trying to login using "%s"', $request->get('email')));
|
||||
Log::info(sprintf('User is trying to login.'));
|
||||
if ('ldap' === config('auth.providers.users.driver')) {
|
||||
/**
|
||||
* Temporary bug fix for something that doesn't seem to work in
|
||||
* AdLdap.
|
||||
*/
|
||||
$schema = config('ldap.connections.default.schema');
|
||||
|
||||
/** @var Adldap\Connections\Provider $provider */
|
||||
Adldap::getProvider('default')->setSchema(new $schema);
|
||||
Adldap::getProvider('default');
|
||||
}
|
||||
|
||||
$this->validateLogin($request);
|
||||
|
Reference in New Issue
Block a user