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