Software /
code /
prosody-modules
Changeset
1225:a3766d3baacb
mod_register_web: Import usermanager and util.http into locals
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 30 Nov 2013 18:22:58 +0100 |
parents | 1224:0b72b8fe4591 |
children | 1226:0667624637da |
files | mod_register_web/mod_register_web.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_register_web/mod_register_web.lua Thu Nov 28 15:16:07 2013 +0100 +++ b/mod_register_web/mod_register_web.lua Sat Nov 30 18:22:58 2013 +0100 @@ -1,5 +1,7 @@ local captcha_options = module:get_option("captcha_options", {}); local nodeprep = require "util.encodings".stringprep.nodeprep; +local usermanager = require "core.usermanager"; +local http = require "util.http"; function generate_captcha(display_options) return (([[