Skip to content

Commit

Permalink
Merge pull request from GHSA-fw57-f7mq-9q85
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cooke committed Feb 26, 2021
1 parent dc06fb4 commit cebb67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authentication/views.py
Expand Up @@ -150,7 +150,7 @@ def post(self, request, *args, **kwargs):
code.delete()
return self.issue_token(user)

return self.issue_token(user)
return FormattedResponse(status=HTTP_401_UNAUTHORIZED, d={'reason': 'login_failed'}, m='login_failed')


class RegenerateBackupCodesView(APIView):
Expand Down

0 comments on commit cebb67b

Please sign in to comment.