plugins/mod_auth_anonymous.lua

changeset 3195
b6388c4f9250
parent 3194
c4069680a01c
child 3270
4710fd513f94
equal deleted inserted replaced
3194:c4069680a01c 3195:b6388c4f9250
33 function provider.user_exists(username) 33 function provider.user_exists(username)
34 return nil, "Only anonymous users are supported."; -- FIXME check if anonymous user is connected? 34 return nil, "Only anonymous users are supported."; -- FIXME check if anonymous user is connected?
35 end 35 end
36 36
37 function provider.create_user(username, password) 37 function provider.create_user(username, password)
38 return nil, "Account creation/modification not supported."; end 38 return nil, "Account creation/modification not supported.";
39 end 39 end
40 40
41 function provider.get_sasl_handler() 41 function provider.get_sasl_handler()
42 local realm = module:get_option("sasl_realm") or module.host; 42 local realm = module:get_option("sasl_realm") or module.host;
43 local anonymous_authentication_profile = { 43 local anonymous_authentication_profile = {

mercurial