summaryrefslogtreecommitdiff
path: root/lib/LuaHttp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaHttp.cc')
-rw-r--r--lib/LuaHttp.cc10
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);