aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-05 14:17:01 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-05 14:17:01 +0100
commit697b71895ecc7968c2cb56058abded5017ecb090 (patch)
treea9effb851130ab82ce6cab78304b968d7e0e9a5a
parenta17cc3b6791eaf110ded69edbc07e41e881e036d (diff)
downloadprosody-697b71895ecc7968c2cb56058abded5017ecb090.tar.gz
prosody-697b71895ecc7968c2cb56058abded5017ecb090.zip
usermanager: Give the default auth provider a name, you'll never guess what it is.
-rw-r--r--core/usermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 6e4d117e..1ee4736e 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -40,7 +40,7 @@ end);
local function is_cyrus(host) return config.get(host, "core", "sasl_backend") == "cyrus"; end
function new_default_provider(host)
- local provider = {};
+ local provider = { name = "default" };
function provider.test_password(username, password)
if is_cyrus(host) then return nil, "Legacy auth not supported with Cyrus SASL."; end