mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-05 17:45:40 +02:00
added messages to dashboard in proper place
This commit is contained in:
@@ -153,6 +153,10 @@ class Admin
|
||||
/** @var Grav $grav */
|
||||
$grav = $this->grav;
|
||||
|
||||
$l = $this->grav['language'];
|
||||
|
||||
$this->setMessage($l->translate('LOGIN_LOGGED_IN'), 'info');
|
||||
|
||||
// $redirect_route =$this->getLoginRedirect() ?: $this->uri->route();
|
||||
$redirect_route = $this->uri->route();
|
||||
$grav->redirect($redirect_route);
|
||||
|
||||
Reference in New Issue
Block a user