X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Flucid-http%2Fluasrc%2Flucid%2Fhttp%2Fserver.lua;h=cb10813b9ee7aee499c3a75b2e2c92c0653b280c;hb=a77f1b91aeb9d6770a2fa5bc83a6100119e825d1;hp=0fe947316635251c6f207c6c793514bd92324335;hpb=b8ab3b9dacab9c6d4344c60fdb4046087a24f233;p=project%2Fluci.git 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