Skip to content

Commit

Permalink
Add note about None LOG_USER_ATTRIBUTE setting to README
Browse files Browse the repository at this point in the history
  • Loading branch information
j4mie committed Jan 21, 2023
1 parent 23ae576 commit 51eee87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The `RequestIDMiddleware` also has the ability to log all requests received by t
Logging other user attributes
--------------------

If you would like to log another user attribute instead of user ID, this can be specified with the `LOG_USER_ATTRIBUTE` setting. Eg. to log the username, use: `LOG_USER_ATTRIBUTE = "username"`
If you would like to log another user attribute instead of user ID, this can be specified with the `LOG_USER_ATTRIBUTE` setting. Eg. to log the username, use: `LOG_USER_ATTRIBUTE = "username"`. If this setting is set to `None`, no user attribute will be logged.

License
-------
Expand Down

0 comments on commit 51eee87

Please sign in to comment.