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