Skip to content

Commit 3761398

Browse files
committed
fix sign out from all Auth IDPs
1 parent 1981484 commit 3761398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAuthUI/FIRAuthUI.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ - (UINavigationController *)authViewController {
108108
- (BOOL)signOutWithError:(NSError *_Nullable *_Nullable)error {
109109
// sign out from Firebase
110110
BOOL success = [self.auth signOut:error];
111-
if (!error && success) {
111+
if (success) {
112112
// sign out from all providers (wipes provider tokens too)
113113
for (id<FIRAuthProviderUI> provider in _providers) {
114114
[provider signOut];

0 commit comments

Comments
 (0)