Updates to the login procedure [skip ci]

This commit is contained in:
James Cole
2019-02-16 07:20:25 +01:00
parent e28cfade8d
commit 59fdf5b77a
2 changed files with 2 additions and 3 deletions

View File

@@ -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