mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Updates to the login procedure [skip ci]
This commit is contained in:
parent
e28cfade8d
commit
59fdf5b77a
@ -29,6 +29,7 @@ use FireflyIII\User;
|
||||
use Illuminate\Cookie\CookieJar;
|
||||
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||
use Illuminate\Http\Request;
|
||||
use Log;
|
||||
|
||||
/**
|
||||
* Class LoginController
|
||||
@ -69,6 +70,7 @@ class LoginController extends Controller
|
||||
*/
|
||||
public function login(Request $request)
|
||||
{
|
||||
Log::channel('audit')->info(sprintf('User is trying to login using "%s"', $request->get('email')));
|
||||
$this->validateLogin($request);
|
||||
|
||||
// If the class is using the ThrottlesLogins trait, we can automatically throttle
|
||||
|
@ -164,7 +164,6 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
//'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
|
||||
'hosts' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
|
||||
|
||||
/*
|
||||
@ -220,8 +219,6 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
//'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''),
|
||||
//'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''),
|
||||
'username' => env('ADLDAP_ADMIN_USERNAME', ''),
|
||||
'password' => env('ADLDAP_ADMIN_PASSWORD', ''),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user