better error message for server mode
This commit is contained in:
parent
22270d1b61
commit
58f50c7544
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue