mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-28 15:29:21 +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