Commit 1118aff9 authored by Noe Nieto's avatar Noe Nieto 💬

Merge branch 'master' of source.puri.sm:liberty/ldh_middleware

parents e1780dde 4748c89b
Pipeline #8810 passed with stage
in 40 seconds
......@@ -119,12 +119,15 @@ class CartRegistrationView(RegistrationView):
else:
# go to WooCommerce cart URL
if hasattr(user, 'chosenreward'):
user_reward = user.chosenreward.reward
else:
user_reward = 1
url = '{}/{}/{}/{}&reauth=1'.format(
settings.WOO_URL,
'wp-login.php?redirect_to=',
settings.WOO_CART_BILLING_PATH,
self.reward
user_reward
)
return url
......
......@@ -32,7 +32,10 @@ SPDX-License-Identifier: AGPL-3.0
Your registration is pending.
</p>
<p>
To complete the registration process please visit <a href="{{complete_signup_url}}">{{complete_signup_url}}</a>
If you haven't already completed the billing process please visit:
</p>
<p>
<a href="{{complete_signup_url}}">{{complete_signup_url}}</a>
</p>
<p>
Pending registrations are removed after 12 hours.
......
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