def METHOD_NAME(
    monkeypatch: MonkeyPatch, twilio_config: dict[str, str]
):
    # cannot enable 2fa w/o email confirmation
    setenvs_from_dict(
        monkeypatch,
        {
            "LOGIN_REGISTRATION_CONFIRMATION_REQUIRED": "0",
            "LOGIN_REGISTRATION_INVITATION_REQUIRED": "0",
            **twilio_config,
        },
    )