diff --git a/apps/profiles/views.py b/apps/profiles/views.py index 62afee1fa..cfa529853 100644 --- a/apps/profiles/views.py +++ b/apps/profiles/views.py @@ -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): @@ -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(