mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 20:26:40 +00:00
remove extra logs
This commit is contained in:
@@ -110,9 +110,9 @@ function getPlatformPostureData(
|
|||||||
if (fingerprint.macosGatekeeperEnabled !== null && fingerprint.macosGatekeeperEnabled !== undefined) {
|
if (fingerprint.macosGatekeeperEnabled !== null && fingerprint.macosGatekeeperEnabled !== undefined) {
|
||||||
posture.macosGatekeeperEnabled = fingerprint.macosGatekeeperEnabled;
|
posture.macosGatekeeperEnabled = fingerprint.macosGatekeeperEnabled;
|
||||||
}
|
}
|
||||||
// if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) {
|
if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) {
|
||||||
// posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode;
|
posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
// Linux: Hard drive encryption, Firewall, AppArmor, SELinux, TPM availability
|
// Linux: Hard drive encryption, Firewall, AppArmor, SELinux, TPM availability
|
||||||
else if (normalizedPlatform === "linux") {
|
else if (normalizedPlatform === "linux") {
|
||||||
|
|||||||
@@ -73,13 +73,6 @@ export async function recoverOlmWithFingerprint(
|
|||||||
)
|
)
|
||||||
.orderBy(currentFingerprint.lastSeen);
|
.orderBy(currentFingerprint.lastSeen);
|
||||||
|
|
||||||
logger.debug(`currentFingerprint = ${platformFingerprint}`);
|
|
||||||
logger.debug(`userId = ${userId}`);
|
|
||||||
|
|
||||||
logger.debug(
|
|
||||||
`recoverOlmWithFingerprint: found ${result.length} olms for userId ${userId} with provided fingerprint`
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!result || result.length == 0) {
|
if (!result || result.length == 0) {
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ export default async function SettingsLayout(props: SettingsLayoutProps) {
|
|||||||
await authCookieHeader()
|
await authCookieHeader()
|
||||||
);
|
);
|
||||||
client = res.data.data;
|
client = res.data.data;
|
||||||
console.log(client);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
redirect(`/${params.orgId}/settings/clients/user`);
|
redirect(`/${params.orgId}/settings/clients/user`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user