feat: Improve MFA check reliability

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 19:06:35 +00:00
parent 47c1a39442
commit 152a90ae9d
3 changed files with 51 additions and 2 deletions

View File

@@ -110,6 +110,7 @@ function AuthProviderComponent({ children }: { children: React.ReactNode }) {
const currentAal = await getSessionAal(session);
setAal(currentAal);
authLog('[Auth] Current AAL:', currentAal);
console.log('🔐 [Auth] AAL SET:', currentAal); // Explicit console log for debugging
} else {
setAal(null);
}