mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix: CLI expanding secrets
This commit is contained in:
@@ -97,6 +97,11 @@ func RequireLogin() {
|
||||
}
|
||||
}
|
||||
|
||||
func IsLoggedIn() bool {
|
||||
configFile, _ := GetConfigFile()
|
||||
return configFile.LoggedInUserEmail != ""
|
||||
}
|
||||
|
||||
func RequireServiceToken() {
|
||||
serviceToken := os.Getenv(INFISICAL_TOKEN_NAME)
|
||||
if serviceToken == "" {
|
||||
|
||||
Reference in New Issue
Block a user