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:
parent
085cd90a7f
commit
9ecc40adeb
@ -121,6 +121,8 @@ AUTHENTICATION_BACKENDS = (
|
|||||||
'guardian.backends.ObjectPermissionBackend',
|
'guardian.backends.ObjectPermissionBackend',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ANONYMOUS_USER_NAME = None # Disable guardian anonymous user
|
||||||
|
|
||||||
GUARDIAN_GET_CONTENT_TYPE = 'polymorphic.contrib.guardian.get_polymorphic_base_content_type'
|
GUARDIAN_GET_CONTENT_TYPE = 'polymorphic.contrib.guardian.get_polymorphic_base_content_type'
|
||||||
|
|
||||||
# Internationalization
|
# Internationalization
|
||||||
|
Loading…
Reference in New Issue
Block a user