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

@@ -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);