- fixed 403 redirect on login;

This commit is contained in:
Vitalii Kiiko
2026-03-09 10:24:35 +01:00
parent 7d8276068e
commit 36b37618c6

View File

@@ -73,7 +73,7 @@ const LoginAdmin = () => {
}
useEffect(() => {
if (!isEmpty(token)) {
if (!isEmpty(token) && !AuthenticationService.isExpired()) {
setLoading(true);
window.location.replace('/')
}