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() } }