plugins/mod_auth_insecure.lua
changeset 9295 d5f798efb1ba
parent 9278 db137a87511b
child 10918 0d7d71dee0a0
equal deleted inserted replaced
9294:329a670ae975 9295: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;