Commit 614d512
committed
Address copilot pass 4 on #4
hideLwsAuthSection() reset memPrivKey/lastVmKid but left the
pasted value in the privkey <input> DOM element. If a user
re-ran diagnostics or switched to a different WebID, the
privkey could be silently reused on the wrong identity. Clear
privkeyInput.value too. (sign-out already does this; this
catches the diagnostic-re-run path.)1 parent c3a813d commit 614d512
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
408 | 413 | | |
409 | 414 | | |
410 | 415 | | |
| |||
0 commit comments