Changeset - e7cb911496a0
[Not reviewed]
0 2 0
HanzZ - 13 years ago 2012-05-18 21:09:17
hanzz.k@gmail.com
Do not send password in iq-get response
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
spectrum/src/sample.cfg
Show inline comments
 
@@ -15,8 +15,8 @@ admin_password=test
 
users_per_backend=10
 
backend=../..//backends/libpurple/spectrum2_libpurple_backend
 
#backend=../../backends/template/template_backend.py
 
protocol=prpl-jabber
 
#protocol=prpl-msn
 
#protocol=prpl-jabber
 
protocol=prpl-msn
 
#protocol=any
 
#protocol=prpl-icq
 
working_dir=./
src/userregistration.cpp
Show inline comments
 
@@ -189,7 +189,7 @@ bool UserRegistration::handleGetRequest(const Swift::JID& from, const Swift::JID
 
	reg->setRegistered(registered);
 
	reg->setUsername(res.uin);
 
	if (CONFIG_STRING(m_config, "service.protocol") != "twitter" && CONFIG_STRING(m_config, "service.protocol") != "bonjour")
 
		reg->setPassword(res.password);
 
		reg->setPassword("");
 

	
 

	
 
	// form
0 comments (0 inline, 0 general)