From ed708b1dad32ada8b68392e05e939b4b42f84a48 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sat, 12 Feb 2022 13:48:24 -0600 Subject: returning 403 on not authorized --- lazybones.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazybones.lisp b/lazybones.lisp index 0310200..bab6ca2 100644 --- a/lazybones.lisp +++ b/lazybones.lisp @@ -288,7 +288,7 @@ applying HANDLER-FUNCTION slot of ENDPOINT to the ARGS list." (*app* app)) (if (request-authorized-p endpoint) (apply (endpoint-request-handler endpoint) args) - (http-err 404)))) + (http-err 403)))) (defun request-authorized-p (endpoint) "Attempts to authorize an endpoint. -- cgit v1.2.3