mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
added messages to dashboard in proper place
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user