mirror of https://gitlab.crans.org/bde/nk20
[note_kfet] Disable Guardian AnonymousUser
This commit is contained in:
parent
085cd90a7f
commit
9ecc40adeb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue