Software /
code /
prosody
Comparison
plugins/mod_auth_anonymous.lua @ 3191:b6388c4f9250
mod_auth_anonymous: Fixed a syntax error.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 07 Jun 2010 04:22:49 +0500 |
parent | 3190:c4069680a01c |
child | 3270:4710fd513f94 |
comparison
equal
deleted
inserted
replaced
3190:c4069680a01c | 3191: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 = { |