Remove the IP address from being recorded (#1220)

This commit is contained in:
Nabeel S
2021-06-04 12:10:40 -04:00
committed by GitHub
parent 9b2e466b7e
commit db532e0f16
2 changed files with 0 additions and 7 deletions

View File

@@ -106,9 +106,6 @@ class LoginController extends Controller
{
$user = Auth::user();
$user->last_ip = $request->ip();
$user->save();
if ($user->state !== UserState::ACTIVE && $user->state !== UserState::ON_LEAVE) {
Log::info('Trying to login '.$user->ident.', state '
.UserState::label($user->state));