diff --git a/application/controllers/AuthenticationController.php b/application/controllers/AuthenticationController.php index 118a953a9..933a97357 100644 --- a/application/controllers/AuthenticationController.php +++ b/application/controllers/AuthenticationController.php @@ -141,7 +141,7 @@ class AuthenticationController extends ActionController } } } catch (Exception $e) { - $this->view->errorInfo = $e->getMessage(); + $this->view->form->addError($e->getMessage()); } $this->view->requiresExternalAuth = $triedOnlyExternalAuth && !$auth->isAuthenticated();