From a432c62e53912dac1e92fa38588a1064651c5bc8 Mon Sep 17 00:00:00 2001 From: Zeke Foppa <196249+bfops@users.noreply.github.com> Date: Fri, 8 Nov 2024 19:58:01 -0800 Subject: [PATCH] CLI - Fix stale helptext instructing users to use `spacetime identity` (#1954) Co-authored-by: Zeke Foppa --- crates/cli/src/util.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/cli/src/util.rs b/crates/cli/src/util.rs index 44506597ff..bfb383aec1 100644 --- a/crates/cli/src/util.rs +++ b/crates/cli/src/util.rs @@ -259,11 +259,7 @@ pub fn unauth_error_context(res: anyhow::Result, identity: &str, server: & res.with_context(|| { format!( "Identity {identity} is not valid for server {server}. -Has the server rotated its keys? -Remove the outdated identity with: -\tspacetime identity remove -i {identity} -Generate a new identity with: -\tspacetime identity new --no-email --server {server} --default" +Please log back in with `spacetime logout` and then `spacetime login`." ) }) }