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.
24
24
25
25
## User Providers
26
26
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 ` .
30
31
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:
32
34
33
35
``` console
34
36
php spark shield:model MyUserModel
You can’t perform that action at this time.
0 commit comments