diff options
author | pixel <pixel> | 2007-06-04 14:24:18 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-04 14:24:18 +0000 |
commit | 9b1bb634aea47414793c41cf7be5e2c285de96a9 (patch) | |
tree | 952d75a7753e51a56b669504f7725e38580e7a37 /lib/LuaHttp.cc | |
parent | fd2443bf6b0e319bb147bbd0c480e8e6d9cd17f6 (diff) |
Forwarding login and password to LUA.
Diffstat (limited to 'lib/LuaHttp.cc')
-rw-r--r-- | lib/LuaHttp.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc index 92af759..5d2cbb2 100644 --- a/lib/LuaHttp.cc +++ b/lib/LuaHttp.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaHttp.cc,v 1.12 2007-05-30 22:36:31 pixel Exp $ */ +/* $Id: LuaHttp.cc,v 1.13 2007-06-04 14:24:18 pixel Exp $ */ #include "Domain.h" #include "LuaHttp.h" @@ -276,6 +276,14 @@ class LuaDomain : public Domain { L->push(req.uri); L->settable(); + L->push("login"); + L->push(req.login); + L->settable(); + + L->push("password"); + L->push(req.password); + L->settable(); + LuaHttpResponse r(res); r.push(L); |