mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-31 09:35:13 +01:00
Restore Credentials from Keychain (#1171)
This commit is contained in:
parent
6e149cd505
commit
1fabe5f776
@ -160,9 +160,11 @@ extension ShareViewController {
|
||||
|
||||
extension ShareViewController {
|
||||
private func setupAuthContext() throws -> AuthContext? {
|
||||
let _authentication = AuthenticationServiceProvider.shared.authenticationSortedByActivation().first
|
||||
let _authContext = _authentication.flatMap { AuthContext(authentication: $0) }
|
||||
return _authContext
|
||||
AuthenticationServiceProvider.shared.restore()
|
||||
|
||||
let authentication = AuthenticationServiceProvider.shared.authenticationSortedByActivation().first
|
||||
let authContext = authentication.flatMap { AuthContext(authentication: $0) }
|
||||
return authContext
|
||||
}
|
||||
|
||||
private func setupHintLabel() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user