mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 17:08:11 +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) {
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user