Welcome Guest, Not a member yet? Register   Sign In
What is best practice to modify Vendor views?
#4

(This post was last modified: 01-07-2023, 04:26 AM by datamweb.)

Hi @munggaran,

Command

Code:
php spark shield:setup

creates a new file for this topic in path app/Config/Auth.php.

Therefore, if you update with Composer, there will be no problem until you execute command

Code:
php spark shield:setup

again.

We have clearly explained this issue in the Manual Setup guide of the first(1) paragraph.

Refer to How to define custom views.

Meanwhile, I plan to add a CLI command to set the views via the command line to the shield in [email=https://github.com/codeigniter4/shield/pull/489]PR#489[/email], which has not been done yet.

So feel free to make your settings in file app/Config/Auth.php.
Reply


Messages In This Thread
RE: What is best practice to modify Vendor views? - by datamweb - 01-07-2023, 04:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB