feat: add session-based authentication to the web interface and API routes
Build and Push / build (nucleus, amd64, linux) (push) Successful in 16s

This commit is contained in:
2026-07-17 01:33:26 +01:00
parent b5a7cfc776
commit 8a35a5b791
9 changed files with 245 additions and 10 deletions
@@ -69,6 +69,7 @@ const findings = ref([])
const loadFindings = async () => {
try {
const res = await fetch(`/api/scans/${props.id}/findings`)
if (res.status === 401) { window.location.href = '/login'; return }
findings.value = await res.json() || []
} catch (e) {
console.error(e)