Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

remote_billing_page: Fix redirect on serverlogin/…/confirm/ error.

Anders Kaseorgb10bf1dd208c
diff --git a/corporate/views/remote_billing_page.py b/corporate/views/remote_billing_page.py
index 419c9fe6a1d..2cb1c29aa45 100644
--- a/corporate/views/remote_billing_page.py
+++ b/corporate/views/remote_billing_page.py
@@ -610,7 +610,7 @@ def remote_billing_legacy_server_confirm_login(
# they can re-auth.
raise RemoteBillingAuthenticationError
except (RemoteBillingIdentityExpiredError, RemoteBillingAuthenticationError):
- return HttpResponse(
+ return HttpResponseRedirect(
reverse("remote_billing_legacy_server_login") + f"?next_page={next_page}"
)