Login logout handled : GWM
This commit is contained in:
parent
5b01cdae83
commit
417e228546
@ -26,8 +26,8 @@ class JwtAuthFilter implements FilterInterface
|
||||
}
|
||||
|
||||
// ⚙️ Extract date info from token
|
||||
$userId = $decodedToken->id ?? null;
|
||||
$lastLogin = $decodedToken->last_login_datetime ?? null;
|
||||
$userId = $decodedToken->data->id ?? null;
|
||||
$lastLogin = $decodedToken->data->last_login_datetime ?? null;
|
||||
|
||||
if ($userId && $lastLogin) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user