mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Merge pull request #1360 from Dokploy/remove-permit-root-login-advice
Remove permit root login advice
This commit is contained in:
@@ -145,15 +145,6 @@ export const SecurityAudit = ({ serverId }: Props) => {
|
|||||||
: "Enabled (Password Authentication should be disabled)"
|
: "Enabled (Password Authentication should be disabled)"
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<StatusRow
|
|
||||||
label="Permit Root Login"
|
|
||||||
isEnabled={data?.ssh.permitRootLogin === "no"}
|
|
||||||
description={
|
|
||||||
data?.ssh.permitRootLogin === "no"
|
|
||||||
? "Disabled (Recommended)"
|
|
||||||
: `Enabled: ${data?.ssh.permitRootLogin} (Root Login should be disabled)`
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<StatusRow
|
<StatusRow
|
||||||
label="Use PAM"
|
label="Use PAM"
|
||||||
isEnabled={data?.ssh.usePam === "no"}
|
isEnabled={data?.ssh.usePam === "no"}
|
||||||
|
|||||||
@@ -1619,4 +1619,3 @@ export const templates: TemplateData[] = [
|
|||||||
load: () => import("./wikijs/index").then((m) => m.generate),
|
load: () => import("./wikijs/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user