GWM : token expiry issue in hr
This commit is contained in:
parent
a1e8e8b7d4
commit
42bd609ad8
@ -104,6 +104,7 @@ class AuthJWT implements FilterInterface
|
|||||||
$model = new EmployeeModel();
|
$model = new EmployeeModel();
|
||||||
} else {
|
} else {
|
||||||
$model = new LevelContactModel();
|
$model = new LevelContactModel();
|
||||||
|
$id = $decoded['pre_hr_id'] ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = $model->find($id);
|
$user = $model->find($id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user