Commit eebbb23
committed
fix: clear bootstrap token after first IPC read to prevent stale token reuse
The backendBootstrapToken has remainingUses: 1 on the server side, so it is
deleted after the first successful consume. Clear the module-level variable
after the first IPC read so subsequent calls do not return a stale,
already-consumed token that would silently fail to authenticate.1 parent 4caff6f commit eebbb23
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1239 | 1239 | | |
1240 | 1240 | | |
1241 | 1241 | | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
1242 | 1246 | | |
1243 | 1247 | | |
1244 | 1248 | | |
1245 | | - | |
| 1249 | + | |
1246 | 1250 | | |
1247 | 1251 | | |
1248 | 1252 | | |
| |||
0 commit comments