Skip to content

Commit 2d12c13

Browse files
authored
Update README.md
1 parent 83685c5 commit 2d12c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Update that user's Document to have the string `admin` in the permissions array.
8484

8585
The `UsersService` `update` method will update any fields which are valid and not duplicates, even if other fields are invalid or duplicates.
8686

87-
Users can change their `username`, `password`, `email`, or `enabled` status via a mutation. Changing their username will make their token unusable (it won't authenticate when the user presenting the token's username is checked against the token's username). This may or may not be the desired behavior. If using on a front end, make it obvious that if the user changes their username, it'll log the user out (or the front end must get a new token via logging in behind the scenes).
87+
Users can change their `username`, `password`, `email`, or `enabled` status via a mutation. Changing their username will make their token unusable (it won't authenticate when the user presenting the token's username is checked against the token's username). This may or may not be the desired behavior. If using on a front end, make it obvious that if the user changes their username, it'll log the user out (or the front end must get a new token via logging in behind the scenes - but this would likely require storing the password and is not recommended).
8888

8989
If a user sets `enabled` to `false` on their account, they cannot log back in (because it is disabled), only an admin can change it back.
9090

0 commit comments

Comments
 (0)