Require admin to update startup argument.

This commit is contained in:
Dane Everitt
2017-02-16 14:23:22 -05:00
parent 8740be05b3
commit 10164f5a51

View File

@@ -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();
}