mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-12 14:28:55 +00:00
Adjust excludes in tasks.py (#11703)
- Closes https://github.com/inventree/InvenTree/issues/11700
This commit is contained in:
2
tasks.py
2
tasks.py
@@ -367,7 +367,7 @@ def content_excludes(
|
|||||||
|
|
||||||
# Optionally exclude user auth data
|
# Optionally exclude user auth data
|
||||||
if not allow_auth:
|
if not allow_auth:
|
||||||
excludes.extend(['auth.group', 'auth.user'])
|
excludes.extend(['auth.group', 'auth.user', 'users.userprofile'])
|
||||||
|
|
||||||
# Optionally exclude user token information
|
# Optionally exclude user token information
|
||||||
if not allow_tokens:
|
if not allow_tokens:
|
||||||
|
|||||||
Reference in New Issue
Block a user