philiplb / CRUDlexUser

CRUDlexUser is a library offering an user provider for symfony/security.
https://philiplb.de/crudlex/
MIT License
2 stars 0 forks source link

Require Locale and Translation Service provider #5

Closed dmaciel closed 7 years ago

dmaciel commented 7 years ago

Hi

I'm using CRUDlex and CRUDlexUser in a project, but to use CRUDlexUser I need to add the following: $app->register(new Silex\Provider\LocaleServiceProvider()); $app->register(new Silex\Provider\TranslationServiceProvider(), array( 'locale_fallbacks' => array('en'), ));

It's possible to use crudlex without requiring this?

philiplb commented 7 years ago

Hi, this is a required provider and CRUDlex will initialize them, if this is not already done. 0.11.0 got a few fixes for this behaviour. Feel free to reopen the issue if you have any more feedback or questions. :)