mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
remove unneeded comments
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user