net.dns: Remove elements from the cache when expired so as to not leave holes in...
[prosody.git] / plugins / mod_legacyauth.lua
index 3d27ba7129049d4f94a2b554e525866352d5b7c5..9a9c3902f0dfe242ce3b435056fb06787edd21ca 100644 (file)
@@ -53,7 +53,7 @@ module:add_iq_handler("c2s_unauthed", "jabber:iq:auth",
                                                success, err_type, err, err_msg = sessionmanager.bind_resource(session, resource);
                                                if not success then
                                                        session.send(st.error_reply(stanza, err_type, err, err_msg));
-                                                       return true;
+                                                       return true; -- FIXME need to unauthenticate here
                                                end
                                        end
                                        session.send(st.reply(stanza));