mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Remove auth info when logging out of an account
This commit is contained in:
parent
4fde1933dd
commit
1389565b83
1 changed files with 4 additions and 0 deletions
|
|
@ -260,6 +260,10 @@ class AccountModel: ObservableObject {
|
|||
CoreContext.shared.doOnCoreQueue { core in
|
||||
Log.info("Account \(self.account.displayName()) has been removed")
|
||||
core.removeAccount(account: self.account)
|
||||
|
||||
if let authInfo = self.account.findAuthInfo() {
|
||||
core.removeAuthInfo(info: authInfo)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue