Pass stored credentials to the delegate when updated
This commit is contained in:
parent
9328932b20
commit
d12a056ca3
|
@ -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? {
|
||||||
|
|
Loading…
Reference in New Issue