Merge branch 'develop' into 'main'

Add browser fingerprint to auth check

See merge request digiresilience/link/link-stack!11
This commit is contained in:
Darren Clarke 2024-09-25 08:24:25 +00:00
commit 8148de30c2

View file

@ -13,6 +13,9 @@ export const ZammadLoginProvider: FC<PropsWithChildren> = ({ children }) => {
if (status === "authenticated") {
const response = await fetch("/api/v1/users/me", {
method: "GET",
headers: {
"X-Browser-Fingerprint": `${session.expires}`,
},
});
if (response.status !== 200) {