do not exit in _printErrorMsg() anymore

this disabled the login failure count
This commit is contained in:
Uwe Steinmann 2014-03-04 08:31:17 +01:00
parent 598be765c6
commit 773cf3d121

View File

@ -30,13 +30,9 @@ include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
function _printMessage($heading, $message) { function _printMessage($heading, $message) {
UI::exitError($heading, $message); global $theme;
exit; $view = UI::factory($theme, 'ErrorDlg');
UI::htmlStartPage($heading, "login"); $view->exitError($heading, $message, true);
UI::globalBanner();
UI::pageNavigation($heading);
UI::contentContainer($message);
UI::htmlEndPage();
return; return;
} }