Require admin to update startup argument.
This commit is contained in:
parent
8740be05b3
commit
10164f5a51
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ class ServerRepository
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Check the startup
|
// Check the startup
|
||||||
if (isset($data['startup'])) {
|
if (isset($data['startup']) && $admin) {
|
||||||
$server->startup = $data['startup'];
|
$server->startup = $data['startup'];
|
||||||
$server->save();
|
$server->save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue