Fix startup variable editing to allow admin full control
This commit is contained in:
parent
a903ae313a
commit
a36f3dd875
2 changed files with 3 additions and 3 deletions
|
@ -374,7 +374,7 @@ class ServersController extends Controller
|
|||
$server = new ServerRepository;
|
||||
$server->updateStartup($id, $request->except([
|
||||
'_token'
|
||||
]));
|
||||
]), true);
|
||||
Alert::success('Server startup variables were successfully updated.')->flash();
|
||||
} catch (\Pterodactyl\Exceptions\DisplayException $e) {
|
||||
Alert::danger($e->getMessage())->flash();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue