moving auth_proxy to hooks.py

This commit is contained in:
Stephane Martin 2016-09-06 13:53:40 +02:00
parent cc2d0b7e09
commit cb7430df4e
3 changed files with 28 additions and 18 deletions

View file

@ -160,6 +160,8 @@ class Config(object):
self.MODULES.append('auth.oauth')
if hasattr(self, 'LDAP'):
self.MODULES.append('auth.ldap')
if hasattr(self, "AUTH_PROXY"):
self.MODULES.append('auth.proxy')
if in_vagrant():
self.USE_X_SENDFILE = False
if self.ENV == "DEV":