mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-05-03 13:16:06 +02:00
SFTP should be to allow
This commit is contained in:
@@ -112,7 +112,7 @@ class SftpAuthenticationController extends Controller
|
|||||||
|
|
||||||
// Remeber, for security purposes, only reveal the existence of the server to people that
|
// Remeber, for security purposes, only reveal the existence of the server to people that
|
||||||
// have provided valid credentials, and have permissions to know about it.
|
// have provided valid credentials, and have permissions to know about it.
|
||||||
if ($server->installed !== 1 || $server->suspended) {
|
if (! $user->root_admin && ($server->installed !== 1 || $server->suspended)) {
|
||||||
throw new BadRequestHttpException(
|
throw new BadRequestHttpException(
|
||||||
'Server is not installed or is currently suspended.'
|
'Server is not installed or is currently suspended.'
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user