aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/api/config.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-06-19 14:13:42 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-06-19 14:13:42 +0000
commitd4d5c311ec24ddc92c8d9053f9eeb37acf44f395 (patch)
tree76591780b670da7891f03ae31a63c77668c8e9ef /app/views/admin/api/config.php
parent45ed79fbcc9a8c9be7f236b24b4c6a117b48184f (diff)
remove restapi, fixes #2798
Closes #2798 Merge request studip/studip!1888
Diffstat (limited to 'app/views/admin/api/config.php')
-rw-r--r--app/views/admin/api/config.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/app/views/admin/api/config.php b/app/views/admin/api/config.php
deleted file mode 100644
index 83d2ae5..0000000
--- a/app/views/admin/api/config.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * @var Admin_ApiController $controller
- * @var array $config
- */
-use Studip\Button, Studip\LinkButton;
-?>
-
-<form class="default" action="<?= $controller->url_for('admin/api/config') ?>" method="post">
- <fieldset>
- <legend><?= _('Konfiguration') ?></legend>
-
- <input type="hidden" name="active" value="0">
- <label>
- <input type="checkbox" name="active" value="1" <? if ($config['API_ENABLED']) echo 'checked'; ?>>
- <?= _('REST-API aktiviert') ?>
- </label>
-
-
- <label class="caption" for="auth">
- <?= _('Standard-Authentifizierung beim Login') ?>
- <select name="auth" id="auth">
- <? foreach ($GLOBALS['STUDIP_AUTH_PLUGIN'] as $plugin): ?>
- <option <? if ($config['API_OAUTH_AUTH_PLUGIN'] === $plugin) echo 'selected'; ?>>
- <?= $plugin ?>
- </option>
- <? endforeach; ?>
- </select>
- </label>
- </fieldset>
- <footer>
- <?= Button::createAccept(_('Speichern')) ?>
- <?= LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/api')) ?>
- </footer>
-</form>