Skip to content

Commit 3e9963f

Browse files
committed
Additional review comments addressed.
1 parent 40d5b91 commit 3e9963f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/2 - quickstart.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ Note: The example above can also be done through a [controller filter](https://c
194194
## Managing Users
195195

196196
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.
197+
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.
197198

198199
### Creating Users
199200

@@ -222,9 +223,11 @@ A user's data can be spread over a few different tables so you might be concerne
222223

223224
```php
224225
$users = model('UserModel');
225-
$users->delete($user->id);
226+
$users->delete($user->id, true);
226227
```
227228

229+
NOTE: The User rows use [soft deletes](https://codeigniter.com/user_guide/models/model.html#usesoftdeletes) so they are not actually deleted from the database unless the second parameter is `true`, like above.
230+
228231
### Editing A User
229232

230233
The `UserModel::save()` method has been modified to ensure that an email or password previously set on the `User` entity will be automatically updated in the correct `UserIdentity` record.

0 commit comments

Comments
 (0)