Commit ea72be5e authored by Linus Lewandowski's avatar Linus Lewandowski

Report 403, not 401, on invalid credentials sent to the email confirmation endpoint.

parent 99414f47
Pipeline #11860962 passed with stages
in 14 minutes and 6 seconds
......@@ -134,7 +134,7 @@ class FinishRegistrationByEmail(TemplateView):
if '__all__' in errors:
for e in errors['__all__']:
if e['code'] == 'invalid_login':
e_class = invalid_grant
e_class = access_denied
raise e_class(errors)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment