- fixed 403 redirect on login;
This commit is contained in:
@@ -73,7 +73,7 @@ const LoginAdmin = () => {
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (!isEmpty(token)) {
|
||||
if (!isEmpty(token) && !AuthenticationService.isExpired()) {
|
||||
setLoading(true);
|
||||
window.location.replace('/')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user