return 401

This commit is contained in:
Luna 2025-05-02 18:47:54 -03:00
parent 6e3705a6df
commit 6e9f673d91

View file

@ -12,7 +12,7 @@ local function searchCallback(cfg, _ctx)
local authheader = h["authorization"] local authheader = h["authorization"]
if authheader == nil then if authheader == nil then
return 400, "requires authentication" return 401, "requires authentication"
else else
return nil return nil
end end