From 51eee8766c06f670c7c3cd597343ecb128d3cc76 Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Sat, 21 Jan 2023 20:35:11 +0000 Subject: [PATCH] Add note about None LOG_USER_ATTRIBUTE setting to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc57fe3..216e330 100644 --- a/README.md +++ b/README.md @@ -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 -------