From 4424fa9763b8a3d923b6eef4e11decbacb732c1c Mon Sep 17 00:00:00 2001 From: kushalmalani Date: Fri, 15 Sep 2023 08:45:26 -0700 Subject: [PATCH] Update token login message (#1390) --- 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 } }