Skip to content

Commit

Permalink
fix: broken redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
brage-andreas authored and henrikhorluck committed Sep 4, 2024
1 parent be62039 commit e2a9503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/profiles/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def post(self, request, *args, **kwargs):
request, "Noe gikk galt. Vennligst ta kontakt med dotkom."
)

return redirect("profile_add_email")
return redirect("profiles")


class GSuiteResetPassword(View):
Expand All @@ -335,7 +335,7 @@ def post(self, request, *args, **kwargs):
except ValueError as err:
messages.error(request, err)

return redirect("profile_add_email")
return redirect("profiles")


class PublicProfileSearchSet(
Expand Down

0 comments on commit e2a9503

Please sign in to comment.