aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2023-03-20 14:38:26 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-08-28 14:05:00 +0000
commit089edee35f6212ce1da10f3d4735755206bd14f2 (patch)
tree88a84f258b9140f2b27e8e0ae7bf09422902cfc2
parent0d690ee11d173b6f1bce8900767057296cb1e2b0 (diff)
downloadnextcloud-server-089edee35f6212ce1da10f3d4735755206bd14f2.tar.gz
nextcloud-server-089edee35f6212ce1da10f3d4735755206bd14f2.zip
fix(provisionning_api): Remove parameters that are not set into template
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
-rw-r--r--core/templates/confirmation.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/templates/confirmation.php b/core/templates/confirmation.php
index cc062d1ef4c..7373f73fbc2 100644
--- a/core/templates/confirmation.php
+++ b/core/templates/confirmation.php
@@ -8,15 +8,12 @@
/** @var \OCP\Defaults $theme */
?>
<div class="update">
- <form method="POST" action="<?php print_unescaped($_['targetUrl']);?>">
+ <form method="POST">
<h2><?php p($_['title']) ?></h2>
<p><?php p($_['message']) ?></p>
<div class="buttons">
<input type="submit" class="primary" value="<?php p($_['action']); ?>">
</div>
- <?php foreach ($_['parameters'] as $name => $value) {?>
- <input type="hidden" name="<?php p($name); ?>" value="<?php p($value); ?>">
- <?php } ?>
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
</form>
</div>