Software /
code /
prosody
Comparison
plugins/mod_auth_insecure.lua @ 9292:d5f798efb1ba
mod_auth_insecure: Fix module provider name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 12 Sep 2018 13:43:18 +0100 |
parent | 9275:db137a87511b |
child | 10914:0d7d71dee0a0 |
comparison
equal
deleted
inserted
replaced
9291:329a670ae975 | 9292:d5f798efb1ba |
---|---|
9 | 9 |
10 local datamanager = require "util.datamanager"; | 10 local datamanager = require "util.datamanager"; |
11 local new_sasl = require "util.sasl".new; | 11 local new_sasl = require "util.sasl".new; |
12 | 12 |
13 local host = module.host; | 13 local host = module.host; |
14 local provider = { name = "any" }; | 14 local provider = { name = "insecure" }; |
15 | 15 |
16 assert(module:get_option_string("insecure_open_authentication") == "Yes please, I know what I'm doing!"); | 16 assert(module:get_option_string("insecure_open_authentication") == "Yes please, I know what I'm doing!"); |
17 | 17 |
18 function provider.test_password(username, password) | 18 function provider.test_password(username, password) |
19 return true; | 19 return true; |