diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-01-03 20:01:23 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-01-03 20:01:23 -0300 |
commit | 707bc16c662ec779ac364e219e56bb5e1c368932 (patch) | |
tree | 62c45b5e1003de5fdf2862b711c0adfefe082e79 /askbot/context.py | |
parent | 694c78e348d90e8dce2411fb860f5e824278f7de (diff) | |
download | askbot-707bc16c662ec779ac364e219e56bb5e1c368932.tar.gz askbot-707bc16c662ec779ac364e219e56bb5e1c368932.tar.bz2 askbot-707bc16c662ec779ac364e219e56bb5e1c368932.zip |
when internal login app is disabled, links to log in/log out disappear, assuming that the user will provide own
Diffstat (limited to 'askbot/context.py')
-rw-r--r-- | askbot/context.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/context.py b/askbot/context.py index f3665240..17ab35bd 100644 --- a/askbot/context.py +++ b/askbot/context.py @@ -21,6 +21,8 @@ def application_settings(request): my_settings['LOGIN_URL'] = url_utils.get_login_url() my_settings['LOGOUT_URL'] = url_utils.get_logout_url() my_settings['LOGOUT_REDIRECT_URL'] = url_utils.get_logout_redirect_url() + my_settings['USE_ASKBOT_LOGIN_SYSTEM'] = 'askbot.deps.django_authopenid' \ + in settings.INSTALLED_APPS return { 'settings': my_settings, 'skin': get_skin(request), |