We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd8e7a5 commit e236b48Copy full SHA for e236b48
web/templates/pages/edit_server.php
@@ -1201,7 +1201,7 @@ class="form-select"
1201
</div>
1202
</details>
1203
1204
- <?php if ($_SESSION["userContext"] === "admin" && $_SESSION["user"] === "admin") { ?>
+ <?php if ($_SESSION["userContext"] === "admin" && $_SESSION["user"] === $_SESSION["ROOT_USER"]) { ?>
1205
<details class="collapse">
1206
<summary class="collapse-header">
1207
<?= _("System Protection") ?>
0 commit comments