mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Require admin to update startup argument.
This commit is contained in:
@@ -649,7 +649,7 @@ class ServerRepository
|
||||
|
||||
try {
|
||||
// Check the startup
|
||||
if (isset($data['startup'])) {
|
||||
if (isset($data['startup']) && $admin) {
|
||||
$server->startup = $data['startup'];
|
||||
$server->save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user