Commit 72cff3ba authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Use WebSection instead WebSite on the redirect

parent 8bfed59f
Pipeline #14787 failed with stage
in 0 seconds
......@@ -17,8 +17,8 @@ if token:
error = "Token is invalid or it was already used"
if error:
base_url = web_site.absolute_url()
redirect_url = "%s/order?field_your_reservation_name=%s&field_your_reservation_email=%s&field_your_reservation_number_of_machines=%s&field_your_reservation_network=%s&field_your_reservation_invitation_token=%s&portal_status_message=%s" % (
base_url = context.getWebSectionValue().absolute_url()
redirect_url = "%s?field_your_reservation_name=%s&field_your_reservation_email=%s&field_your_reservation_number_of_machines=%s&field_your_reservation_network=%s&field_your_reservation_invitation_token=%s&portal_status_message=%s" % (
base_url,
user_input_dict['name'],
email,
......
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