comparison mod_register_web/mod_register_web.lua @ 1247:34fbe58d19da

mod_register_web: Use net.http instead of util.http, as we need to make requests (thanks dustin)
author Matthew Wild <mwild1@gmail.com>
date Fri, 06 Dec 2013 02:31:47 +0000
parents cc5cbeeb9fc7
children e670d4cc5027
comparison
equal deleted inserted replaced
1246:e76f7b6be20e 1247:34fbe58d19da
1 local captcha_options = module:get_option("captcha_options", {}); 1 local captcha_options = module:get_option("captcha_options", {});
2 local nodeprep = require "util.encodings".stringprep.nodeprep; 2 local nodeprep = require "util.encodings".stringprep.nodeprep;
3 local usermanager = require "core.usermanager"; 3 local usermanager = require "core.usermanager";
4 local http = require "util.http"; 4 local http = require "net.http";
5 5
6 local extra_fields = { 6 local extra_fields = {
7 nick = true; name = true; first = true; last = true; email = true; 7 nick = true; name = true; first = true; last = true; email = true;
8 address = true; city = true; state = true; zip = true; 8 address = true; city = true; state = true; zip = true;
9 phone = true; url = true; date = true; 9 phone = true; url = true; date = true;