Commit f32979d
fix(app-shell): don't show the recovery-password reminder on a user's first landing (#2183)
The RecoveryPasswordReminder banner ("Set a recovery password so you can still
sign in if SSO is ever unavailable") fired on the env home whenever an SSO user
had no local password — including a brand-new user's very first screen, before
they've built anything. Premature: it loads the first-run magic moment with a
resilience nudge the user has no reason to care about yet. (The component's own
comment already intends "not before the first session"; the code didn't honor it.)
Gate on a first-visit marker: record the first home landing, show the reminder
only from the next visit onward. Still dismissible; still SSO-fallback resilience
for the default (password-allowed) envs.
Follow-up: the reminder also shows on SSO-enforced envs where password login is
disabled (recovery password unusable there) — that gate is separate.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 17374ce commit f32979d
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
191 | 200 | | |
192 | 201 | | |
193 | 202 | | |
| |||
0 commit comments