Skip to content

Commit

Permalink
Update token login message (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalmalani authored Sep 15, 2023
1 parent e363548 commit 4424fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 4424fa9

Please sign in to comment.