Update login urls

This commit is contained in:
Darren Clarke 2025-03-24 11:48:40 +01:00
parent 494404c4c1
commit 13a5a03860
3 changed files with 7 additions and 15 deletions

View file

@ -19,7 +19,7 @@ export const ZammadLoginProvider: FC<PropsWithChildren> = ({ children }) => {
});
if (response.status !== 200) {
window.location.href = "/zammad/auth/sso";
window.location.href = "/link/login";
} else {
const token = response.headers.get("CSRF-Token");
update({ zammadCsrfToken: token });