Skip to content

Commit 835bec6

Browse files
authored
Merge pull request #326 from datamweb/fix-docs-and-clear-description
2 parents 4062fe3 + f4c68ae commit 835bec6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/quickstart.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,16 @@ if ($user->inGroup('admin', 'beta')) {
260260

261261
## Managing Users
262262

263-
Shield uses a more complex user setup than many other systems, separating [User Identities](1-concepts.md#identities) from the user accounts themselves. This quick overview should help you feel more confident when working with users on a day-to-day basis.
264-
Since Shield uses a more complex user setup than many other systems, due to the [User Identities](1-concepts.md#user-identities), this quick overview should help you feel more confident when working with users on a day-to-day basis.
263+
Shield uses a more complex user setup than many other systems, separating [User Identities](concepts.md#identities) from the user accounts themselves. This quick overview should help you feel more confident when working with users on a day-to-day basis.
264+
Since Shield uses a more complex user setup than many other systems, due to the [User Identities](concepts.md#user-identities), this quick overview should help you feel more confident when working with users on a day-to-day basis.
265265

266266
### Creating Users
267267

268268
By default, the only values stored in the users table is the username. The first step is to create the user record with the username. If you don't have a username, be sure to set the value to `null` anyway, so that it passes CodeIgniter's empty data check.
269269

270270
```php
271+
use CodeIgniter\Shield\Entities\User;
272+
271273
$users = model('UserModel');
272274
$user = new User([
273275
'username' => 'foo-bar',

0 commit comments

Comments
 (0)