Shield setup issue |
I'm planning to use shield for user management
I'm aware that this add-on will also include settings library. I don't want to use database handler for settings and want to use array instead. For this, I need to change the handler by extending the settings config manually. Suggestions: Extend the Settings config for app/Config same as Auth, AuthGroups, AuthTokens. Only Run the migrations if the handler is set to database. Thank you.
I would extended the settings library and add the modifications that you need.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(10-21-2024, 11:07 PM)InsiteFX Wrote: I would extended the settings library and add the modifications that you need. Yes, as I said before, I need to manually extending it and change the handler from database to array. Why don't just include with the shield ![]() As for Now Run command shield ![]() Edit Auth.php if I need to change the table Extend Settings.php config manually Change the handler Run migrations Expecting Run command shield ![]() Edit Auth.php if I need to change the table Extend Settings.php config manually Change the handler. Run migrations (skip migrations for Settings if database handler is set)
It seems they are trying to remove the enforcement of using the Settings library by Shield.
Here, we have a PR situation. https://github.com/codeigniter4/shield/pull/1220 |
Welcome Guest, Not a member yet? Register Sign In |