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:
Mateusz Mandera 2024-08-17 02:01:40 +02:00 committed by Tim Abbott
parent 86bf0d3ea3
commit 76b41e433a
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ def create_preregistration_realm(
def maybe_send_to_registration(
request: HttpRequest,
email: str,
*,
full_name: str = "",
mobile_flow_otp: str | None = None,
desktop_flow_otp: str | None = None,