From 957d6f40c7f1c61341f5c657c6bad237bc9549d7 Mon Sep 17 00:00:00 2001 From: Kushal Malani Date: Thu, 14 Sep 2023 20:25:48 -0700 Subject: [PATCH] Update token login message --- cloud/auth/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/auth/auth.go b/cloud/auth/auth.go index 99c1fca27..4ac875316 100644 --- a/cloud/auth/auth.go +++ b/cloud/auth/auth.go @@ -358,10 +358,10 @@ func Login(domain, token string, client astro.Client, coreClient astrocore.CoreC return err } } else { - fmt.Print("You are logging into Astro via an OAuth token\nThis token will expire in 24 hours and will not refresh\n\n") + fmt.Print("You are logging into Astro via an OAuth token\nThis token will expire in 1 hour and will not refresh\n\n") res = Result{ AccessToken: token, - ExpiresIn: 86400, //nolint:gomnd + ExpiresIn: 3600, //nolint:gomnd } }