added messages to dashboard in proper place

This commit is contained in:
Andy Miller
2015-07-28 16:10:48 -06:00
parent d13da2a820
commit 47c2723827
8 changed files with 14 additions and 6 deletions

View File

@@ -123,7 +123,7 @@ class AdminController
$l = $this->grav['language'];
if ($this->admin->authenticate($this->post)) {
$this->admin->setMessage($l->translate('LOGIN_LOGGED_IN'), 'info');
// should never reach here, redirects first
} else {
$this->admin->setMessage($l->translate('LOGIN_FAILED'), 'error');
}