 
 import UIKit
 
-class WMFLoginViewController: UIViewController, UITextFieldDelegate {
+class WMFLoginViewController: UIViewController, UITextFieldDelegate, WMFCaptchaViewControllerDelegate {
     @IBOutlet fileprivate var scrollView: UIScrollView!
     @IBOutlet fileprivate var usernameField: UITextField!
     @IBOutlet fileprivate var passwordField: UITextField!

            presenter.present(navigationController, animated: true, completion: nil)
        })
    }
}

    fileprivate var doneButton: UIBarButtonItem!
    
    public var funnel: LoginFunnel?

    fileprivate var captchaViewController: WMFCaptchaViewController?
    private let loginInfoFetcher = WMFAuthLoginInfoFetcher()
    let tokenFetcher = WMFAuthTokenFetcher()

    func closeButtonPushed(_ : UIBarButtonItem) {
        dismiss(animated: true, completion: nil)
