Skip to content

Commit 51eee87

Browse files
committed
Add note about None LOG_USER_ATTRIBUTE setting to README
1 parent 23ae576 commit 51eee87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The `RequestIDMiddleware` also has the ability to log all requests received by t
130130
Logging other user attributes
131131
--------------------
132132

133-
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"`
133+
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.
134134

135135
License
136136
-------

0 commit comments

Comments
 (0)