fix(webui): preserve reverse proxy authentication

Prevent login loops when the WebUI is protected by HTTP authentication
at a reverse proxy. Apply the fix to settings, uploads, and live streams
while retaining compatibility with existing WebUI clients.

Fixes #523
This commit is contained in:
DrSmoothl committed 2026-10-14 08:13:50 +08:00
1 parent d6dd748beb
commit 5150d83403
13 files changed
+244 -56

No files matched your search

@@ -41,10 +41,10 @@ describe('password strength API client', () => {
expect.objectContaining({
method: 'POST',
body: JSON.stringify({ password: 'Strong-password' }),
headers: {
Authorization: 'Bearer test-token',
headers: new Headers({
'X-SnowLuma-Token': 'test-token',
'Content-Type': 'application/json',
},
}),
signal: expect.any(AbortSignal),
}),
);