Fix internal redirect after logout (#1767)

This commit is contained in:
Jakub Majorek 2022-01-18 15:35:09 +01:00 committed by GitHub
parent 2aab5b80ff
commit 15ee95fba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@ export function useAuthProvider({
if (externalLogoutUrl) { if (externalLogoutUrl) {
window.location.href = externalLogoutUrl; window.location.href = externalLogoutUrl;
} else { } else {
navigate(path); navigate("/");
} }
} }