File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,13 @@ on the standard Config class if nothing is found in the database.
2424
2525## User Providers
2626
27- You can use your own models to handle user persistence. Shield calls this the "User Provider" class. A default model
28- is provided for you at ` CodeIgniter\Shield\Models\UserModel ` . You can change this in the ` Config\Auth->userProvider ` setting.
29- The only requirement is that your new class MUST extend the provided ` UserModel ` .
27+ You can use your own models to handle user persistence. Shield calls this the "User Provider" class.
28+ A default model is provided for you by the ` CodeIgniter\Shield\Models\UserModel ` class. You can change
29+ this in the ` Config\Auth::$userProvider ` setting. The only requirement is that your new class
30+ MUST extend the provided ` UserModel ` .
3031
31- Shield has a CLI command to quickly create a custom ` MyUserModel ` by running the following command in terminal:
32+ Shield has a CLI command to quickly create a custom ` MyUserModel ` class by running the following
33+ command in the terminal:
3234
3335``` console
3436php spark shield:model MyUserModel
You can’t perform that action at this time.
0 commit comments