projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97d128c
)
Missing admin account or wrong pass is not fatal
author
Roland Häder
<roland@mxchange.org>
Fri, 30 Oct 2009 09:56:21 +0000
(09:56 +0000)
committer
Roland Häder
<roland@mxchange.org>
Fri, 30 Oct 2009 09:56:21 +0000
(09:56 +0000)
inc/modules/admin.php
patch
|
blob
|
history
diff --git
a/inc/modules/admin.php
b/inc/modules/admin.php
index 0a26a6ff364642566e579ff847123b6c6982688e..b9b59ece5f405ce696c877bf469619881f8cb448 100644
(file)
--- a/
inc/modules/admin.php
+++ b/
inc/modules/admin.php
@@
-369,13
+369,13
@@
if (!isAdminRegistered()) {
case '404': // Administrator login not found
setRequestPostElement('ok', $ret);
case '404': // Administrator login not found
setRequestPostElement('ok', $ret);
-
addFatalMessage(__FILE__, __LINE__
, sprintf(getMessage('ADMIN_404'), getSession('admin_login')));
+
loadTemplate('admin_settings_saved', false
, sprintf(getMessage('ADMIN_404'), getSession('admin_login')));
destroyAdminSession();
break;
case 'pass': // Wrong password
setRequestPostElement('ok', $ret);
destroyAdminSession();
break;
case 'pass': // Wrong password
setRequestPostElement('ok', $ret);
-
addFatalMessage(__FILE__, __LINE__
, getMessage('WRONG_PASS'));
+
loadTemplate('admin_settings_saved', false
, getMessage('WRONG_PASS'));
destroyAdminSession();
break;
destroyAdminSession();
break;