浏览代码

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

Romain Rigaux 7 年之前
父节点
当前提交
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())