Commit 479b2db
committed
fix(auth): disable basic token query bypass
Comment out the basic-auth middleware shortcut that allowed any request with a token query parameter to skip the session-cookie check. This keeps unauthenticated direct page loads on the normal login redirect path unless a valid session cookie exists.1 parent 6cd8e8f commit 479b2db
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments