mirror of https://github.com/zulip/zulip.git
maybe_send_to_registration: Enforce kwargs.
Most of these should be kwargs, to make sure we're not accidentally getting the order wrong when calling it.
This commit is contained in:
parent
86bf0d3ea3
commit
76b41e433a
|
@ -156,6 +156,7 @@ def create_preregistration_realm(
|
||||||
def maybe_send_to_registration(
|
def maybe_send_to_registration(
|
||||||
request: HttpRequest,
|
request: HttpRequest,
|
||||||
email: str,
|
email: str,
|
||||||
|
*,
|
||||||
full_name: str = "",
|
full_name: str = "",
|
||||||
mobile_flow_otp: str | None = None,
|
mobile_flow_otp: str | None = None,
|
||||||
desktop_flow_otp: str | None = None,
|
desktop_flow_otp: str | None = None,
|
||||||
|
|
Loading…
Reference in New Issue