summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-07-25 10:47:26 +0000
committerSteven Barth <steven@midlink.org>2009-07-25 10:47:26 +0000
commita77f1b91aeb9d6770a2fa5bc83a6100119e825d1 (patch)
tree0639ba6c88dd430af6708658c1ef7f9abb3b7965 /libs/lucid-http/luasrc/lucid
parentb8ab3b9dacab9c6d4344c60fdb4046087a24f233 (diff)
Allow Basic-Auth pass-through
Diffstat (limited to 'libs/lucid-http/luasrc/lucid')
-rw-r--r--libs/lucid-http/luasrc/lucid/http/server.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua
index 0fe947316..cb10813b9 100644
--- a/libs/lucid-http/luasrc/lucid/http/server.lua
+++ b/libs/lucid-http/luasrc/lucid/http/server.lua
@@ -132,6 +132,7 @@ function Handler.checkrestricted(self, request)
end
if stat then
+ request.env.HTTP_AUTH_USER, request.env.HTTP_AUTH_PASS = user, pass
return
end
end