Closed ArtMin96 closed 4 years ago
Hi. How can I use this in Auth\Login? I can not find this method.
protected function authenticated(Request $request, $user) { $user->update([ 'last_login_at' => Carbon::now()->toDateTimeString(), 'last_login_ip' => $request->getClientIp() ]); }
@ArtMin96 You can add this method's logic to the authenticate method in Auth\Login.
authenticate
Auth\Login
@ryangjchandler Stil not working.
Hi. How can I use this in Auth\Login? I can not find this method.