From 697b71895ecc7968c2cb56058abded5017ecb090 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 5 May 2010 14:17:01 +0100
Subject: usermanager: Give the default auth provider a name, you'll never
 guess what it is.

---
 core/usermanager.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core')

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
-- 
cgit v1.2.3