Philipp Hörist pushed to branch master at gajim / gajim


Commits:
dbde9663 by Philipp Hörist at 2023-11-06T10:10:46+01:00
fix: Accounts: Don’t try to save password for anonymous accounts

- - - - -


1 changed file:

- gajim/common/application.py


Changes:

=====================================
gajim/common/application.py
=====================================
@@ -376,8 +376,9 @@ def create_account(self,
         for opt, value in config.items():
             app.settings.set_account_setting(account, opt, value)  # pyright: 
ignore  # noqa: E501
 
-        # Password module depends on existing config
-        passwords.save_password(account, password)
+        if not anonymous:
+            # Password module depends on existing config
+            passwords.save_password(account, password)
 
     def enable_account(self, account: str) -> None:
         app.connections[account] = Client(account)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dbde9663c13c413d5bdbe16c4e25542fa02e19b9

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dbde9663c13c413d5bdbe16c4e25542fa02e19b9
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to