From eaa12be728e3bb139e85b493509595672fdc6008 Mon Sep 17 00:00:00 2001 From: SamoilenkoVadym Date: Mon, 9 Feb 2026 21:45:29 +0000 Subject: [PATCH] Fix MSAL.js load order: use onload callback Define initMsal() first, then load CDN script with onload="initMsal()". Prevents 'msal is not defined' race condition. Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/login.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/login.html b/templates/login.html index 988b937..a274d70 100644 --- a/templates/login.html +++ b/templates/login.html @@ -301,13 +301,16 @@ {% if sso_enabled %} - + {% endif %}