Phase 1 reliability/stabilisation: auth logging, logout client, loader+xml hardening

This commit is contained in:
2026-05-13 10:05:49 +01:00
parent d36a56c4c9
commit 8fe06c09c4
9 changed files with 125 additions and 49 deletions
+5
View File
@@ -6,6 +6,7 @@ import { connect } from "react-redux";
import pLimit from "p-limit";
import { getIP } from "../../actions/core/logger";
import { logInfo } from "../../actions/core/logger";
import {
getPersonalAccount,
getPortalLogin
@@ -184,6 +185,10 @@ export const getServerSideProps = wrapper.getServerSideProps(
const thisSession = await getSession(ctx);
if (!thisSession) {
logInfo("auth.guard.redirect", {
route: "/myportal",
reason: "missing_session"
});
return {
redirect: { destination: "/auth/signin", permanent: false }
};