mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 11:19:16 +00:00
Fix #2093
This commit is contained in:
@@ -71,6 +71,9 @@ class LoginController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function login(Request $request)
|
public function login(Request $request)
|
||||||
{
|
{
|
||||||
|
Log::channel('audit')->info(sprintf('User is trying to login using "%s"', $request->get('email')));
|
||||||
|
|
||||||
|
if ('ldap' === config('auth.providers.users.driver')) {
|
||||||
/**
|
/**
|
||||||
* Temporary bug fix for something that doesn't seem to work in
|
* Temporary bug fix for something that doesn't seem to work in
|
||||||
* AdLdap.
|
* AdLdap.
|
||||||
@@ -79,8 +82,7 @@ class LoginController extends Controller
|
|||||||
|
|
||||||
/** @var Adldap\Connections\Provider $provider */
|
/** @var Adldap\Connections\Provider $provider */
|
||||||
Adldap::getProvider('default')->setSchema(new $schema);
|
Adldap::getProvider('default')->setSchema(new $schema);
|
||||||
|
}
|
||||||
Log::channel('audit')->info(sprintf('User is trying to login using "%s"', $request->get('email')));
|
|
||||||
$this->validateLogin($request);
|
$this->validateLogin($request);
|
||||||
|
|
||||||
// If the class is using the ThrottlesLogins trait, we can automatically throttle
|
// If the class is using the ThrottlesLogins trait, we can automatically throttle
|
||||||
|
Reference in New Issue
Block a user