From c8c0de3b0429d7f1f5e1a66a87271e72e73ad3ba Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 5 Apr 2026 21:41:26 -0400 Subject: [PATCH] feat(settings): SSO account guard + remove redundant Office Days - Account tab: SSO users see an info banner instead of email/password forms - Briefing tab: remove Office Days section (work days now come from Profile) - Remove unused toggleWorkDay function Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/views/SettingsView.vue | 195 +++++++++++++--------------- 1 file changed, 92 insertions(+), 103 deletions(-) diff --git a/frontend/src/views/SettingsView.vue b/frontend/src/views/SettingsView.vue index 61f9f98..75e4b03 100644 --- a/frontend/src/views/SettingsView.vue +++ b/frontend/src/views/SettingsView.vue @@ -347,13 +347,6 @@ async function geocodeLocation(key: 'home' | 'work') { } } -function toggleWorkDay(day: number) { - const days = briefingConfig.value.work_days; - const idx = days.indexOf(day); - if (idx === -1) days.push(day); - else days.splice(idx, 1); - days.sort(); -} async function saveBriefingSettings() { @@ -1578,93 +1571,104 @@ function formatUserDate(iso: string): string {
-
-

Email Address

-

Used for password resets and notifications.

-
- - -
-
- - -

Required to confirm the change.

-
-
- -
+ +
+

Account

+

+ Your account is managed by an external identity provider. + Email and password changes are made through your provider, not here. +

-
-

Change Password

-
- - -
-
- - -

Must be at least 8 characters

-
-
- - -

- Passwords do not match -

-
-
- -
-
+

Active Sessions

- Sign out all other devices and sessions. Use this after an SSO password change + Sign out all other devices and sessions. Use this after a password change to ensure stale sessions are revoked.

@@ -2112,21 +2116,6 @@ function formatUserDate(iso: string): string {
- -
-

Office Days

-

Which days do you go into the office? Used to decide whether to include the 8am check-in slot.

-
- -
-
-

Scheduled Slots