From b6753d5bc9854e27bc8b79ea3de0994092196ba8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 14 Apr 2026 04:38:28 +0200 Subject: [PATCH] Hide change-password + 2FA by default, show only when canLocalAuth=true Sections were briefly visible for SSO-only users before load2FAStatus resolved and hid them. Flipped the default: both sections now carry style="display:none" in the HTML and are revealed only when the /me fetch confirms the user has a real password hash. SSO-only users never see the sections, even for a flash. --- public/components/settings.html | 8 ++++---- public/js/auth.js | 17 +++++++---------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/public/components/settings.html b/public/components/settings.html index 6cb7343..f88883d 100644 --- a/public/components/settings.html +++ b/public/components/settings.html @@ -85,8 +85,8 @@

Trade-off: Immediate transcription vs. privacy. For maximum privacy, use Browser Whisper (offline batch mode) or Server transcription with HIPAA-eligible provider.

- -
+ +