diff --git a/reflex/reflex.py b/reflex/reflex.py index e8f5fe29d..f71fc5f86 100644 --- a/reflex/reflex.py +++ b/reflex/reflex.py @@ -386,7 +386,7 @@ def logout( hosting.log_out_on_browser() console.debug("Deleting access token from config locally") - hosting.delete_token_from_config() + hosting.delete_token_from_config(include_invitation_code=True) @cli.command() @@ -404,7 +404,7 @@ def logoutv2( hosting.log_out_on_browser() console.debug("Deleting access token from config locally") - hosting.delete_token_from_config(include_invitation_code=True) + hosting.delete_token_from_config() db_cli = typer.Typer()