You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/quickstart.md
+6-25
Original file line number
Diff line number
Diff line change
@@ -265,21 +265,20 @@ Since Shield uses a more complex user setup than many other systems, due to the
265
265
266
266
### Creating Users
267
267
268
-
By default, the only values stored in a user 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.
268
+
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.
@@ -297,7 +296,7 @@ NOTE: The User rows use [soft deletes](https://codeigniter.com/user_guide/models
297
296
298
297
### Editing A User
299
298
300
-
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.
299
+
The `UserModel::save()`, `update()` and `insert()` methods have been modified to ensure that an email or password previously set on the `User` entity will be automatically updated in the correct `UserIdentity` record.
301
300
302
301
```php
303
302
$users = model('UserModel');
@@ -310,21 +309,3 @@ $user->fill([
310
309
]);
311
310
$users->save($user);
312
311
```
313
-
314
-
If you prefer to use the `update()` method then you will have to update the user's appropriate UserIdentity manually.
0 commit comments