Logout should not open the browser

This commit is contained in:
Elijah 2024-12-04 16:03:20 +04:00
parent c721227a06
commit e4a0837065

View File

@ -396,15 +396,10 @@ def logoutv2(
),
):
"""Log out of access to Reflex hosting service."""
from reflex_cli.v2.utils import hosting
from reflex_cli.v2 import cli
check_version()
console.set_log_level(loglevel)
hosting.log_out_on_browser()
console.debug("Deleting access token from config locally")
hosting.delete_token_from_config()
cli.logout()
db_cli = typer.Typer()