mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 11:27:09 +02:00
Fixes #30, added logout page
This commit is contained in:
@@ -151,7 +151,7 @@ class AdminController
|
||||
|
||||
$this->admin->session()->invalidate()->start();
|
||||
$this->admin->setMessage($l->translate('LOGGED_OUT'), 'info');
|
||||
$this->setRedirect('/');
|
||||
$this->setRedirect('/logout');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user