mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
refactor: remove unused call to get_credentials()
This commit is contained in:
@@ -43,7 +43,6 @@ class ACFactory:
|
|||||||
@futuremethod
|
@futuremethod
|
||||||
def new_configured_account(self):
|
def new_configured_account(self):
|
||||||
"""Create a new configured account."""
|
"""Create a new configured account."""
|
||||||
addr, password = self.get_credentials()
|
|
||||||
account = self.get_unconfigured_account()
|
account = self.get_unconfigured_account()
|
||||||
domain = os.getenv("CHATMAIL_DOMAIN")
|
domain = os.getenv("CHATMAIL_DOMAIN")
|
||||||
yield account.add_transport_from_qr.future(f"dcaccount:{domain}")
|
yield account.add_transport_from_qr.future(f"dcaccount:{domain}")
|
||||||
|
|||||||
Reference in New Issue
Block a user