Skip to content

Commit

Permalink
Fix Apple sign out
Browse files Browse the repository at this point in the history
  • Loading branch information
yllfejziu committed May 10, 2024
1 parent fe280ce commit 89f239b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Apple/AppleAuthenticator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ extension AppleAuthenticator: Authenticator {
/// Clears the signIn footprint and logs out the user immediatelly.
public func signOut() {
storage.removeObject(forKey: storageUserIdKey)
rejectSignIn(with: .cancelled)
storage.setValue(false, forKey: storageAuthenticatedKey)
continuation = nil
}

/// Returns the current authentication state.
Expand Down

0 comments on commit 89f239b

Please sign in to comment.