diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-12-28 09:59:27 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-12-28 09:59:27 +0500 |
commit | 86cea8a5d8797089558309b92ffeeb34ff0ad08b (patch) | |
tree | b4fc8f6f948f7bdf62019809fb67bc442cffe5e6 /prosody | |
parent | a2b49b64ae934a578130dff7efbb48a1a8627048 (diff) | |
download | prosody-86cea8a5d8797089558309b92ffeeb34ff0ad08b.tar.gz prosody-86cea8a5d8797089558309b92ffeeb34ff0ad08b.zip |
prosody: Don't add a datamanager callback when anonymous_login=true (mod_auth_anonymous does this now).
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -334,12 +334,6 @@ end function init_data_store() local data_path = config.get("*", "core", "data_path") or CFG_DATADIR or "data"; require "util.datamanager".set_data_path(data_path); - require "util.datamanager".add_callback(function(username, host, datastore, data) - if config.get(host, "core", "anonymous_login") then - return false; - end - return username, host, datastore, data; - end); require "core.storagemanager"; end |