spstpl/django-social-auth — comment on commit 1ceb61382121684c72425ce4eb232950dd40b292
File: social_auth/views.py line 41
By omab:

``settings.LOGIN_ERROR_MESSAGE`` is invalid, this code is not safe and will fail with ``AttributeError`` unless the settings is defined. The line should be ::
ERROR_MESSAGE = setting('LOGIN_ERROR_MESSAGE', None)

and check for it's value below.