Use a 403 status to indicate that the user does not have a linked
account for third party auth.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user