Changeset

1690:b675ae5b4c91

mod_legacyauth: Added a FIXME
author Waqas Hussain <waqas20@gmail.com>
date Thu, 13 Aug 2009 16:53:18 +0500
parents 1689:5eb806590525
children 1691:e9b589dae393
files plugins/mod_legacyauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_legacyauth.lua	Thu Aug 13 16:51:35 2009 +0500
+++ b/plugins/mod_legacyauth.lua	Thu Aug 13 16:53:18 2009 +0500
@@ -53,7 +53,7 @@
 						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));