Do not send password in iq-get response
This commit is contained in:
parent
31687c4a09
commit
e7cb911496
2 changed files with 3 additions and 3 deletions
|
@ -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=./
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue