codescalers / CSHR

CRM project mainly for the HR department to manage the employees.
Apache License 2.0
1 stars 1 forks source link

Redirect users to login page when the token gets expired in time #431

Closed Mahmoud-Emad closed 1 month ago

Mahmoud-Emad commented 5 months ago

Description

We should redirect the users to the login page after the token gets expired, no need for refreshing the page

Mahmoud-Emad commented 4 months ago

Changing the token lifetime will solve this bug.