Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove unneeded comments

Maidul Islama6497b844aea
diff --git a/cli/packages/cmd/root.go b/cli/packages/cmd/root.go
index 8fb160ad8f..d454929536 100644
--- a/cli/packages/cmd/root.go
+++ b/cli/packages/cmd/root.go
@@ -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 {