diff --git a/src/common/connection.py b/src/common/connection.py index 16d295c0c..f44187a56 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -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')