From fa4c3c28f4d2098b54caa5324dfcd16c990bbab5 Mon Sep 17 00:00:00 2001 From: Tim Bruijnzeels Date: Fri, 18 Oct 2019 16:37:10 +0200 Subject: [PATCH] Finish response. --- src/daemon/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/auth.rs b/src/daemon/auth.rs index a73f8af5..7fa8c2e5 100644 --- a/src/daemon/auth.rs +++ b/src/daemon/auth.rs @@ -54,7 +54,7 @@ pub fn is_logged_in(id: Identity) -> HttpResponse { if id.identity().is_some() { HttpResponse::Ok().finish() } else { - HttpResponse::Forbidden() + HttpResponse::Forbidden().finish() } }