comparison mod_register_web/mod_register_web.lua @ 1460:5e1f7af23cf0

mod_register_web: Add dependency on mod_http
author Kim Alvefur <zash@zash.se>
date Fri, 27 Jun 2014 22:48:15 +0200
parents 742f3dc601b5
children 1aa894db3585
comparison
equal deleted inserted replaced
1459:742f3dc601b5 1460:5e1f7af23cf0
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 "net.http"; 4 local http = require "net.http";
5 local path_sep = package.config:sub(1,1); 5 local path_sep = package.config:sub(1,1);
6
7 module:depends"http";
6 8
7 local extra_fields = { 9 local extra_fields = {
8 nick = true; name = true; first = true; last = true; email = true; 10 nick = true; name = true; first = true; last = true; email = true;
9 address = true; city = true; state = true; zip = true; 11 address = true; city = true; state = true; zip = true;
10 phone = true; url = true; date = true; 12 phone = true; url = true; date = true;