return 401
This commit is contained in:
parent
6e3705a6df
commit
6e9f673d91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue