rename loginv2 to login
This commit is contained in:
parent
12771004cb
commit
c41636d832
@ -337,7 +337,7 @@ def login(loglevel: constants.LogLevel = typer.Option(config.loglevel)):
|
|||||||
|
|
||||||
validated_info = hosting_cli.login()
|
validated_info = hosting_cli.login()
|
||||||
if validated_info is not None:
|
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()
|
@cli.command()
|
||||||
|
@ -1413,7 +1413,7 @@ def validate_and_create_app_using_remote_template(app_name, template, templates)
|
|||||||
authenticated_token = hosting.authenticated_token()
|
authenticated_token = hosting.authenticated_token()
|
||||||
if not authenticated_token or not authenticated_token[0]:
|
if not authenticated_token or not authenticated_token[0]:
|
||||||
console.print(
|
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)
|
raise typer.Exit(3)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user