don't forget password when authentication fails. It may be a server problem. Fixes #5779

This commit is contained in:
Yann Leboulanger 2010-06-13 18:17:36 +02:00
parent 982234e83b
commit 262cad2d99
1 changed files with 0 additions and 2 deletions

View File

@ -1308,8 +1308,6 @@ class Connection(CommonConnection, ConnectionHandlers):
self.on_connect_auth(con)
self.on_connect_auth = None
else:
# Forget password, it's wrong
self.password = None
gajim.log.debug("Couldn't authenticate to %s" % self._hostname)
self.disconnect(on_purpose = True)
self.dispatch('STATUS', 'offline')