Commit 6bd6ea5
committed
fix(gateway): narrow serve+none guard to tailscaleMode=serve only
The new auth.mode=none guard was dead code for the funnel path because
the preceding funnel guard (line 125) already rejects funnel+non-password.
Narrow the condition from tailscaleMode !== "off" to tailscaleMode === "serve"
so the guard matches only the configuration it actually covers, and update
the error message and test assertion accordingly.
Addresses Greptile review feedback on PR #50631.1 parent 33f58e5 commit 6bd6ea5
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments