mirror of
https://github.com/inventree/InvenTree.git
synced 2026-12-02 04:21:32 +00:00
Adjust excludes in tasks.py (#11703)
- Closes https://github.com/inventree/InvenTree/issues/11700
This commit is contained in:
1 parent
2466059e4e
commit
7da430f0e7
1 file changed
+1
-1
@@ -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