mod_http_files: Export function can be used by other modules to serve files. Don...
[prosody.git] / plugins / mod_auth_internal_plain.lua
index b7723dd7009ee0261193f5b8c42bcfa44dd9bd5c..7514164d6f71ee6b1d99afcabb079e855b6069e6 100644 (file)
@@ -52,6 +52,10 @@ function provider.user_exists(username)
        return true;
 end
 
+function provider.users()
+       return datamanager.users(host, "accounts");
+end
+
 function provider.create_user(username, password)
        return datamanager.store(username, host, "accounts", {password = password});
 end