mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 11:16:30 +03:00
Changes to fog working in hybrid mode
This commit is contained in:
@@ -1343,6 +1343,10 @@ private:
|
||||
<< LogField("agentVersion", Version::get());
|
||||
|
||||
auto email = getSettingWithDefault<string>("", "email-address");
|
||||
if (email == "") {
|
||||
auto env_email = getenv("user_email");
|
||||
if (env_email != nullptr) email = env_email;
|
||||
}
|
||||
if (email != "") {
|
||||
dbgInfo(D_ORCHESTRATOR) << "Sending registration data";
|
||||
LogGen(
|
||||
|
Reference in New Issue
Block a user