1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

[note_kfet] Disable Guardian AnonymousUser

This commit is contained in:
Benjamin Graillot 2019-07-23 02:11:24 +02:00
parent 085cd90a7f
commit 9ecc40adeb

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