feat: add auto login for bad user sessions

This commit is contained in:
Sheen Capadngan
2025-06-03 02:47:09 +08:00
parent 96e9bc3b2f
commit f9ebb919e5
14 changed files with 935 additions and 879 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ func RequireLogin() {
configFile, _ := GetConfigFile()
if configFile.LoggedInUserEmail == "" {
PrintErrorMessageAndExit("You must be logged in to run this command. To login, run [infisical login]")
EstablishUserLoginSession()
}
}