diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-14 12:28:29 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-14 12:28:29 -0400 |
commit | 7d4e81c2e6553ee9aa087d95fdc6c87f75b021df (patch) | |
tree | 5ac9607cb9240737ced352aa05ac4af36a746f3f /settings.py | |
parent | 18318c5fe8dbae1ee50924aa5b8cf7b683d409ee (diff) | |
download | askbot-7d4e81c2e6553ee9aa087d95fdc6c87f75b021df.tar.gz askbot-7d4e81c2e6553ee9aa087d95fdc6c87f75b021df.tar.bz2 askbot-7d4e81c2e6553ee9aa087d95fdc6c87f75b021df.zip |
removed old external password login hooks
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/settings.py b/settings.py index b45d0dc5..4135c561 100644 --- a/settings.py +++ b/settings.py @@ -83,16 +83,3 @@ if DATABASE_ENGINE in ('postgresql_psycopg2', 'postgresql', ) and False:#todo - INSTALLED_APPS.append('pgfulltext') else: USE_PG_FTS = False - -#load optional plugin module for external password login -if 'USE_EXTERNAL_LEGACY_LOGIN' in locals() and USE_EXTERNAL_LEGACY_LOGIN: - INSTALLED_APPS.append(EXTERNAL_LEGACY_LOGIN_MODULE) - - if 'EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_BACKEND' in locals(): - AUTHENTICATION_BACKENDS.append(EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_BACKEND) - if 'EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_MIDDLEWARE' in locals(): - MIDDLEWARE_CLASSES.append(EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_MIDDLEWARE) - def LOAD_EXTERNAL_LOGIN_APP(): - return __import__(EXTERNAL_LEGACY_LOGIN_MODULE, [], [], ['api','forms','views']) -else: - LOAD_EXTERNAL_LOGIN_APP = lambda: None |