]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(provisionning_api): Remove parameters that are not set into template 47572/head
authorThomas Citharel <tcit@tcit.fr>
Mon, 20 Mar 2023 13:38:26 +0000 (14:38 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 28 Aug 2024 14:01:10 +0000 (14:01 +0000)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
core/templates/confirmation.php

index 26014cd1e79a59d660b00f13c9849c836ecb94aa..61e9cfe27070ca4d2562be9e712607221207ff99 100644 (file)
@@ -6,15 +6,12 @@
 ?>
 
 <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>