Mercurial > prosody-modules
diff mod_register_web/mod_register_web.lua @ 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 | 6617f5f79d68 |
children | 0667624637da |
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 (([[