mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
Change user view name
This commit is contained in:
@@ -1532,7 +1532,7 @@ class AdminController
|
||||
$config = $this->grav['config'];
|
||||
$config->reload();
|
||||
|
||||
if ($this->view === 'users') {
|
||||
if ($this->view === 'user') {
|
||||
$this->grav['user']->merge(User::load($this->admin->route)->toArray());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user