in Swift/KVSiOSApp/SignInViewController.swift [64:75]
func showSignInError(signInResult: SignInResult) {
switch (signInResult.signInState) {
case .signedIn:
self.dismiss(animated: true, completion: nil)
default:
let alertController = UIAlertController(title: "Login Error", message: "There was an error with your login, please contact user support", preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: "OK", style: .cancel, handler: nil))
self.present(alertController, animated: true, completion: nil)
}
}