Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
remote_billing_page: Allow deactivation logins with realm plans.
Alex Vandiver940c2a1dedd7
diff --git a/corporate/views/remote_billing_page.py b/corporate/views/remote_billing_page.pyindex e47c7a70317..84874c36e8f 100644--- a/corporate/views/remote_billing_page.py+++ b/corporate/views/remote_billing_page.py@@ -690,7 +690,10 @@ def remote_billing_legacy_server_from_login_confirmation_link(# don't need a pretty error.raise JsonableError(_("You must accept the Terms of Service to proceed."))- if has_live_plan_for_any_remote_realm_on_server(remote_server):+ if (+ has_live_plan_for_any_remote_realm_on_server(remote_server)+ and prereg_object.next_page != "deactivate"+ ):return render(request,"corporate/remote_server_login_error_for_any_realm_on_active_plan.html",