Mercurial > prosody-modules
comparison mod_register_web/mod_register_web.lua @ 2739:7d864a03b509
mod_register_web: Import missing datamanager
author | Michel Le Bihan <michel@lebihan.pl> |
---|---|
date | Thu, 17 Aug 2017 14:35:42 +0200 |
parents | c8161146c698 |
children | 57d4680b86a4 |
comparison
equal
deleted
inserted
replaced
2738:46b29a377bdf | 2739:7d864a03b509 |
---|---|
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 datamanager = require "util.datamanager"; | |
4 local http = require "net.http"; | 5 local http = require "net.http"; |
5 local path_sep = package.config:sub(1,1); | 6 local path_sep = package.config:sub(1,1); |
6 local json = require "util.json".decode; | 7 local json = require "util.json".decode; |
7 local t_concat = table.concat; | 8 local t_concat = table.concat; |
8 | 9 |