Skip to content

Commit

Permalink
Update the ENABLE_FORM_LOGIN setting in a few places to be the correc…
Browse files Browse the repository at this point in the history
…t singular form.
  • Loading branch information
Coop56 committed Aug 3, 2018
1 parent 9fd1b7a commit 4112b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mapstory/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def context(req):
append_config = getattr(settings, 'DEFAULT_APPEND_CONFIG')
return dict(
AUTOCOMPLETE_QUICK_SEARCH=getattr(settings, 'AUTOCOMPLETE_QUICK_SEARCH', False),
ENABLE_FORM_LOGIN=getattr(settings, 'ENABLE_FORMS_LOGIN', True),
ENABLE_FORM_LOGIN=getattr(settings, 'ENABLE_FORM_LOGIN', True),
ENABLE_SOCIAL_LOGIN=getattr(settings, 'ENABLE_SOCIAL_LOGIN', False),
FEATURE_MULTIPLE_STORY_CHAPTERS=getattr(settings, 'FEATURE_MULTIPLE_STORY_CHAPTERS', False),
GOOGLE_ANALYTICS=getattr(settings, 'GOOGLE_ANALYTICS', None),
Expand Down
2 changes: 1 addition & 1 deletion mapstory/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def is_valid(v):

# Misc
ACCOUNT_OPEN_SIGNUP = str_to_bool(os.environ.get('REGISTRATION_OPEN', 'True'))
ENABLE_FORM_LOGIN = str_to_bool(os.environ.get('ENABLE_FORMS_LOGIN', 'True'))
ENABLE_FORM_LOGIN = str_to_bool(os.environ.get('ENABLE_FORM_LOGIN', 'True'))
USER_SNAP = str_to_bool(os.environ.get('USER_SNAP', 'False'))
GOOGLE_ANALYTICS = os.environ.get('GOOGLE_ANALYTICS', '')

Expand Down

0 comments on commit 4112b0b

Please sign in to comment.