mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
Display authentication exceptions as form errors
This commit is contained in:
parent
9e933d835d
commit
dfc18e0f95
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue