mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
do not exit in _printErrorMsg() anymore
this disabled the login failure count
This commit is contained in:
parent
598be765c6
commit
773cf3d121
|
@ -30,13 +30,9 @@ include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
|||
|
||||
function _printMessage($heading, $message) {
|
||||
|
||||
UI::exitError($heading, $message);
|
||||
exit;
|
||||
UI::htmlStartPage($heading, "login");
|
||||
UI::globalBanner();
|
||||
UI::pageNavigation($heading);
|
||||
UI::contentContainer($message);
|
||||
UI::htmlEndPage();
|
||||
global $theme;
|
||||
$view = UI::factory($theme, 'ErrorDlg');
|
||||
$view->exitError($heading, $message, true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user