use id instead of session for domain requests

This commit is contained in:
zandercymatics 2024-10-31 15:10:12 -06:00
parent e19923f86f
commit aa930eb77c
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
16 changed files with 46 additions and 59 deletions

View file

@ -53,7 +53,7 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
context = super().get_context_data(**kwargs)
# Set the profile_back_button_text based on the redirect parameter
if kwargs.get("redirect") == "domain-request:":
if kwargs.get("redirect") == "domain-request:start":
context["profile_back_button_text"] = "Go back to your domain request"
else:
context["profile_back_button_text"] = "Go to manage your domains"