Skip to content

Commit

Permalink
Merge pull request #1608 from daniel89fg/session-user-login
Browse files Browse the repository at this point in the history
Guardar la sesión del usuario al hacer login
  • Loading branch information
NeoRazorX authored Jun 17, 2024
2 parents 7f9e82e + 95ed733 commit baf95a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/Controller/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ private function loginAction(Request $request): void
}

// update user data
Session::set('user', $user);
$ip = Session::getClientIp();
$browser = $request->headers->get('User-Agent');
$user->newLogkey($ip, $browser);
Expand Down

0 comments on commit baf95a9

Please sign in to comment.