Merge pull request #2 from Xenov-X/Fixing-Custom-Profile

Fixed line that had gone stray into an if construct
This commit is contained in:
Xenov
2022-01-25 17:42:18 -05:00
committed by GitHub
+1 -1
View File
@@ -385,8 +385,8 @@ func GenerateProfile(Profile, CDN, CDN_Value, cert_password, custom_cert, Profil
}
if cert_password != "" && custom_cert != "" {
Beacon_SSL.Variables["Cert"] = Struct.Cert[4]
Beacon_GETPOST_Profile.Variables["Profile"] = Utils.Readfile(ProfilePath)
}
Beacon_GETPOST_Profile.Variables["Profile"] = Utils.Readfile(ProfilePath)
} else {
log.Fatal("Error: Please provide a Profile number of 8 or less")
}