Skip to content

Commit ffcce42

Browse files
committed
Fix concepts.md
1 parent 2987a73 commit ffcce42

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/concepts.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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
3436
php spark shield:model MyUserModel

0 commit comments

Comments
 (0)