mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
remove extra logs
This commit is contained in:
@@ -110,9 +110,9 @@ function getPlatformPostureData(
|
||||
if (fingerprint.macosGatekeeperEnabled !== null && fingerprint.macosGatekeeperEnabled !== undefined) {
|
||||
posture.macosGatekeeperEnabled = fingerprint.macosGatekeeperEnabled;
|
||||
}
|
||||
// if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) {
|
||||
// posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode;
|
||||
// }
|
||||
if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) {
|
||||
posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode;
|
||||
}
|
||||
}
|
||||
// Linux: Hard drive encryption, Firewall, AppArmor, SELinux, TPM availability
|
||||
else if (normalizedPlatform === "linux") {
|
||||
|
||||
@@ -73,13 +73,6 @@ export async function recoverOlmWithFingerprint(
|
||||
)
|
||||
.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) {
|
||||
return next(
|
||||
createHttpError(
|
||||
|
||||
@@ -26,7 +26,6 @@ export default async function SettingsLayout(props: SettingsLayoutProps) {
|
||||
await authCookieHeader()
|
||||
);
|
||||
client = res.data.data;
|
||||
console.log(client);
|
||||
} catch (error) {
|
||||
redirect(`/${params.orgId}/settings/clients/user`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user