always forget password when it's wrong so it's re-asked to user. fixes #3343
This commit is contained in:
parent
aefe6fd370
commit
b2ea1fe5c2
|
@ -526,9 +526,8 @@ class Connection(ConnectionHandlers):
|
|||
self.on_connect_auth(con)
|
||||
self.on_connect_auth = None
|
||||
else:
|
||||
# Forget password if needed
|
||||
if not gajim.config.get_per('accounts', self.name, 'savepass'):
|
||||
self.password = None
|
||||
# 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')
|
||||
|
|
Loading…
Reference in New Issue