Regression: Fixed flex user index with folder storage

This commit is contained in:
Matias Griese 2020-02-07 12:27:02 +02:00
parent 40010f7ff7
commit 0bbbe96ae0
3 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,7 @@
* Regression: Fixed fatal error in blueprints [#2811](https://github.com/getgrav/grav/issues/2811)
* Regression: Fixed bad method call in FlexDirectory::getAuthorizeRule()
* Regression: Fixed fatal error in admin if the site has custom permissions in `onAdminRegisterPermissions`
* Regression: Fixed flex user index with folder storage
* Grav 1.7: Fixed saving Flex configuration with ignored values becoming null
# v1.7.0-rc.5

View File

@ -107,7 +107,6 @@ config:
class: 'Grav\Framework\File\Formatter\YamlFormatter'
folder: 'account://'
pattern: '{FOLDER}/{KEY}{EXT}'
key: username
indexed: true
search:
options:

View File

@ -83,7 +83,7 @@ class FlexServiceProvider implements ServiceProviderInterface
'options' => [
'file' => 'user',
'pattern' => '{FOLDER}/{KEY:2}/{KEY}/{FILE}{EXT}',
'key' => 'storage_key',
'key' => 'username',
],
];
}