Changeset - 58f50c754489
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2013-01-22 09:28:26
hanzz.k@gmail.com
better error message for server mode
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/userregistry.cpp
Show inline comments
 
@@ -98,7 +98,7 @@ void UserRegistry::onPasswordValid(const Swift::JID &user) {
 
void UserRegistry::onPasswordInvalid(const Swift::JID &user, const std::string &error) {
 
	std::string key = user.toBare().toString();
 
	if (users.find(key) != users.end()) {
 
		LOG4CXX_INFO(logger, key << ": Password is invalid");
 
		LOG4CXX_INFO(logger, key << ": Password is invalid or there was an error when connecting the legacy network");
 
		users[key].session->handlePasswordInvalid(error);
 
		users.erase(key);
 
	}
0 comments (0 inline, 0 general)