File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -398,15 +398,10 @@ def logoutv2(
398398 ),
399399):
400400 """Log out of access to Reflex hosting service."""
401- from reflex_cli .v2 . utils import hosting
401+ from reflex_cli .v2 import cli
402402
403403 check_version ()
404-
405- console .set_log_level (loglevel )
406-
407- hosting .log_out_on_browser ()
408- console .debug ("Deleting access token from config locally" )
409- hosting .delete_token_from_config ()
404+ cli .logout ()
410405
411406
412407db_cli = typer .Typer ()
@@ -672,6 +667,8 @@ def deployv2(
672667
673668 # Set the log level.
674669 console .set_log_level (loglevel )
670+ # make sure user is logged in.
671+ hosting_cli .login ()
675672
676673 # Only check requirements if interactive.
677674 # There is user interaction for requirements update.
You can’t perform that action at this time.
0 commit comments