Pass stored credentials to the delegate when updated

This commit is contained in:
Maurice Parker 2019-05-05 06:02:28 -05:00
parent 9328932b20
commit d12a056ca3
1 changed files with 2 additions and 0 deletions

View File

@ -255,6 +255,8 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
try CredentialsManager.storeCredentials(credentials, server: server) try CredentialsManager.storeCredentials(credentials, server: server)
delegate.credentials = credentials
} }
public func retrieveBasicCredentials() throws -> Credentials? { public func retrieveBasicCredentials() throws -> Credentials? {