소스 검색

HUE-8313 [core] Remove hardcoding to ImpersonationBackend when using embedded mode

Romain Rigaux 8 년 전
부모
커밋
30420b2d91
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      desktop/core/src/desktop/settings.py

+ 0 - 2
desktop/core/src/desktop/settings.py

@@ -396,8 +396,6 @@ TIME_ZONE = desktop.conf.TIME_ZONE.get()
 
 if desktop.conf.DEMO_ENABLED.get():
   AUTHENTICATION_BACKENDS = ('desktop.auth.backend.DemoBackend',)
-elif desktop.conf.IS_EMBEDDED.get():
-  AUTHENTICATION_BACKENDS = ('desktop.auth.backend.ImpersonationBackend',)
 else:
   AUTHENTICATION_BACKENDS = tuple(desktop.conf.AUTH.BACKEND.get())