[note_kfet] Disable Guardian AnonymousUser

This commit is contained in:
Benjamin Graillot 2019-07-23 02:11:24 +02:00
parent 085cd90a7f
commit 9ecc40adeb
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ AUTHENTICATION_BACKENDS = (
'guardian.backends.ObjectPermissionBackend',
)
ANONYMOUS_USER_NAME = None # Disable guardian anonymous user
GUARDIAN_GET_CONTENT_TYPE = 'polymorphic.contrib.guardian.get_polymorphic_base_content_type'
# Internationalization