Commit ea082b3
fix(background-checks): remove employee PII from sessionStorage
Stop storing employeeName and employeeEmail in sessionStorage during
the Stripe billing redirect flow. Only requesterNotes (non-PII) is
persisted. After redirect, employeeName re-derives from the employee
prop and the email field resets to its default.
Resolves code-scanning alert #133 (clear text storage of sensitive
information).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6d56a2d commit ea082b3
2 files changed
Lines changed: 4 additions & 5 deletions
File tree
- apps/app/src/app/(app)/[orgId]/people/[employeeId]/components
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments