Skip to content

Commit

Permalink
rename loginv2 to login (#4486)
Browse files Browse the repository at this point in the history
* rename loginv2 to login

* reflex-hosting-cli bump to 0.1.29

* relock deps
  • Loading branch information
masenf committed Dec 5, 2024
1 parent dc99778 commit 5f0aa0c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ wrapt = [
{version = ">=1.11.0,<2.0", python = "<3.11"},
]
packaging = ">=23.1,<25.0"
reflex-hosting-cli = ">=0.1.28,<2.0"
reflex-hosting-cli = ">=0.1.29,<2.0"
charset-normalizer = ">=3.3.2,<4.0"
wheel = ">=0.42.0,<1.0"
build = ">=1.0.3,<2.0"
Expand Down
2 changes: 1 addition & 1 deletion reflex/reflex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion reflex/utils/prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5f0aa0c

Please sign in to comment.