mirror of
https://github.com/getgrav/grav.git
synced 2026-07-13 13:02:15 +02:00
Fixed message about user groups not being cached
This commit is contained in:
@@ -27,7 +27,7 @@ class UserGroupCollection extends FlexCollection
|
||||
public static function getCachedMethods(): array
|
||||
{
|
||||
return [
|
||||
'authorize' => 'session',
|
||||
'authorize' => false,
|
||||
] + parent::getCachedMethods();
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class UserGroupObject extends FlexObject implements UserGroupInterface
|
||||
public static function getCachedMethods(): array
|
||||
{
|
||||
return [
|
||||
'authorize' => 'session',
|
||||
'authorize' => false,
|
||||
] + parent::getCachedMethods();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user