FirebaseEmailAuthUI/Sources/FUIEmailAuth.m [312:344]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    [FIREmailAuthProvider credentialWithEmail:email link:self.emailLink];

    void (^completeSignInBlock)(FIRAuthDataResult *, NSError *) = ^(FIRAuthDataResult *authResult,
                                                                    NSError *error) {
      if (error) {
        switch (error.code) {
          case FIRAuthErrorCodeWrongPassword:
            [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_WrongPasswordError)];
            return;
          case FIRAuthErrorCodeUserNotFound:
            [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_UserNotFoundError)];
            return;
          case FIRAuthErrorCodeUserDisabled:
            [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_AccountDisabledError)];
            return;
          case FIRAuthErrorCodeTooManyRequests:
            [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_SignInTooManyTimesError)];
            return;
        }
      }

      void (^dismissHandler)(void) = ^() {
        UINavigationController *authViewController = [self.authUI authViewController];
        if (!(authViewController.isViewLoaded && authViewController.view.window)) {
          [authViewController.navigationController dismissViewControllerAnimated:YES completion:nil];
        }
        [self.authUI invokeResultCallbackWithAuthDataResult:authResult URL:nil error:error];
      };

      [FUIAuthBaseViewController showAlertWithTitle:FUILocalizedString(kStr_SignedIn)
                                            message:nil
                                        actionTitle:nil
                                      actionHandler:nil
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



FirebaseEmailAuthUI/Sources/FUIEmailAuth.m [417:449]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  [FIREmailAuthProvider credentialWithEmail:email link:self.emailLink];

  void (^completeSignInBlock)(FIRAuthDataResult *, NSError *) = ^(FIRAuthDataResult *authResult,
                                                                  NSError *error) {
    if (error) {
      switch (error.code) {
        case FIRAuthErrorCodeWrongPassword:
          [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_WrongPasswordError)];
          return;
        case FIRAuthErrorCodeUserNotFound:
          [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_UserNotFoundError)];
          return;
        case FIRAuthErrorCodeUserDisabled:
          [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_AccountDisabledError)];
          return;
        case FIRAuthErrorCodeTooManyRequests:
          [FUIAuthBaseViewController showAlertWithMessage:FUILocalizedString(kStr_SignInTooManyTimesError)];
          return;
      }
    }

    void (^dismissHandler)(void) = ^() {
      UINavigationController *authViewController = [self.authUI authViewController];
      if (!(authViewController.isViewLoaded && authViewController.view.window)) {
        [authViewController.navigationController dismissViewControllerAnimated:YES completion:nil];
      }
      [self.authUI invokeResultCallbackWithAuthDataResult:authResult URL:nil error:error];
    };

    [FUIAuthBaseViewController showAlertWithTitle:FUILocalizedString(kStr_SignedIn)
                                          message:nil
                                      actionTitle:nil
                                    actionHandler:nil
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



