fix(webui): strengthen public session handling
Bound unauthenticated sign-in requests and require active sessions for browser-served account images. Keep live updates authenticated without exposing session material in request URLs, and apply conservative response protections without restricting existing WebUI assets.
This commit is contained in:
7 files changed
+391
-53
No files matched your search
@@ -99,7 +99,7 @@ export function LiveActivity() {
|
||||
const [query, setQuery] = useState('');
|
||||
const idRef = useRef(0);
|
||||
|
||||
// Pausing truly drops the EventSource instead of connecting-and-discarding:
|
||||
// Pausing truly drops the live fetch stream instead of connecting-and-discarding:
|
||||
// `paused` is an effect dependency, so it closes the stream on pause and
|
||||
// reopens it on resume. (The always-on-across-tabs behaviour is intentional —
|
||||
// debug-page keeps this mounted so actions fired from other tabs still land in
|
||||
|
||||
Reference in new issue
Block a user