rename loginv2 to login

This commit is contained in:
Masen Furer 2024-12-04 23:35:47 -08:00
parent 12771004cb
commit c41636d832
No known key found for this signature in database
GPG Key ID: B0008AD22B3B3A95
2 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@ def login(loglevel: constants.LogLevel = typer.Option(config.loglevel)):
validated_info = hosting_cli.login()
if validated_info is not None:
telemetry.send("loginv2", user_uuid=validated_info.get("user_id"))
telemetry.send("login", user_uuid=validated_info.get("user_id"))
@cli.command()

View File

@ -1413,7 +1413,7 @@ def validate_and_create_app_using_remote_template(app_name, template, templates)
authenticated_token = hosting.authenticated_token()
if not authenticated_token or not authenticated_token[0]:
console.print(
f"Please use `reflex loginv2` to access the '{template}' template."
f"Please use `reflex login` to access the '{template}' template."
)
raise typer.Exit(3)