remove unneeded comments

This commit is contained in:
Maidul Islam
2024-09-18 09:22:58 -04:00
parent 788dcf2c73
commit a6497b844a

View File

@@ -56,11 +56,9 @@ func init() {
loggedInDetails, err := util.GetCurrentLoggedInUserDetails()
// If the user is logged in and their session is not expired, then we check if token auth is also being used concurrently.
if !silent && err == nil && loggedInDetails.IsUserLoggedIn && !loggedInDetails.LoginExpired {
token, err := util.GetInfisicalToken(cmd)
// If token auth is being used concurrently, we warn the user that the token will be used instead of the logged in user's credentials.
if err == nil && token != nil {
var usingFrom string
if token.PassedAsFlag {