aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-02-12 13:48:24 -0600
committerColin Okay <okay@toyful.space>2022-02-12 13:48:24 -0600
commited708b1dad32ada8b68392e05e939b4b42f84a48 (patch)
tree39b708871f8e40b575d17b1ac981ecf6aea76779
parent61c1d08633d9b1391c00f5fe1716bd915a793b8d (diff)
returning 403 on not authorized
-rw-r--r--lazybones.lisp2
1 files changed, 1 insertions, 1 deletions
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.