Login logout handled : GWM

This commit is contained in:
Gowtham M 2025-10-13 17:05:43 +05:30
parent 5b01cdae83
commit 417e228546

View File

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