diff --git a/main.go b/main.go index 9d94b16..746c7fb 100644 --- a/main.go +++ b/main.go @@ -1233,10 +1233,10 @@ const settingsHTML = ` const msgDiv = document.getElementById('mfa-msg'); if (result.totp_required && result.status === 'enforced') { msgDiv.style.display = 'block'; - msgDiv.style.background = '#fff5f5'; - msgDiv.style.border = '1px solid #fed7d7'; - msgDiv.style.color = '#9b2c2c'; - msgDiv.innerHTML = '🔐 Two-Factor Required: On your next login, you will be prompted to set up an authenticator app (Google Authenticator, Authy, etc.). This is required after adding a work email.'; + msgDiv.style.background = '#fffbeb'; + msgDiv.style.border = '1px solid #fde68a'; + msgDiv.style.color = '#92400e'; + msgDiv.innerHTML = '🔐 Two-Factor Setup Required: Please visit the Authelia portal, log in, and set up an authenticator app (Google Authenticator, Authy, etc.) under Security → Two-Factor. This is required after adding a work email.'; } else if (result.totp_required && result.status === 'error') { msgDiv.style.display = 'block'; msgDiv.style.background = '#fff5f5';