Explorar o código

Swap position of REMOTE_AUTH_BACKEND

Jeremy Stretch %!s(int64=6) %!d(string=hai) anos
pai
achega
fa8407371b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/netbox/settings.py

+ 1 - 1
netbox/netbox/settings.py

@@ -333,8 +333,8 @@ TEMPLATES = [
 
 
 # Set up authentication backends
 # Set up authentication backends
 AUTHENTICATION_BACKENDS = [
 AUTHENTICATION_BACKENDS = [
-    # REMOTE_AUTH_BACKEND,
     'utilities.auth_backends.ObjectPermissionBackend',
     'utilities.auth_backends.ObjectPermissionBackend',
+    REMOTE_AUTH_BACKEND,
 ]
 ]
 
 
 # Internationalization
 # Internationalization