Commit f0440cf
committed
Validate the reconnect secret
Right now the secret is ignored as we don't check if any actual rows
have been updated (with the `WHERE secret = ?`).
I tried writing a test for this but we don't have an easy way to change
the secret during a test.
This issue was found by OpenAI o3.1 parent 0dbfcd8 commit f0440cf
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
435 | 438 | | |
436 | 439 | | |
437 | 440 | | |
| |||
0 commit comments