Use a 403 status to indicate that the user does not have a linked

account for third party auth.
This commit is contained in:
Will Daly
2014-10-23 14:19:25 -04:00
parent b14a129132
commit cc07afb967
7 changed files with 27 additions and 22 deletions

View File

@@ -952,7 +952,7 @@ def login_user(request, error=""): # pylint: disable-msg=too-many-statements,un
platform_name=settings.PLATFORM_NAME
),
content_type="text/plain",
status=401
status=403
)
else: