mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-30 01:36:27 +01:00
Fixed lost user access when saving user profile without super user permissions [#1639]
This commit is contained in:
@@ -10,6 +10,7 @@ use Grav\Common\Media\Interfaces\MediaInterface;
|
||||
use Grav\Common\Page\Interfaces\PageInterface;
|
||||
use Grav\Common\Page\Media;
|
||||
use Grav\Common\Uri;
|
||||
use Grav\Common\User\Interfaces\UserInterface;
|
||||
use Grav\Common\Utils;
|
||||
use Grav\Common\Plugin;
|
||||
use Grav\Common\Theme;
|
||||
@@ -727,9 +728,9 @@ class AdminBaseController
|
||||
}
|
||||
|
||||
/**
|
||||
* @param PageInterface|Data $obj
|
||||
* @param PageInterface|UserInterface|Data $obj
|
||||
*
|
||||
* @return PageInterface|Data
|
||||
* @return PageInterface|UserInterface|Data
|
||||
*/
|
||||
protected function storeFiles($obj)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user