diff options
author | Thomas Citharel <tcit@tcit.fr> | 2023-03-20 14:38:26 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-08-28 14:01:10 +0000 |
commit | 4a57a5fa5d0e342cc03d0d246882b7c7221d5ab7 (patch) | |
tree | 53f2cba9aa2a0279d017799da50357ec5d75fdbe | |
parent | 2022762439344e8dfaff331a1ad79878a3645e62 (diff) | |
download | nextcloud-server-4a57a5fa5d0e342cc03d0d246882b7c7221d5ab7.tar.gz nextcloud-server-4a57a5fa5d0e342cc03d0d246882b7c7221d5ab7.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.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/templates/confirmation.php b/core/templates/confirmation.php index 26014cd1e79..61e9cfe2707 100644 --- a/core/templates/confirmation.php +++ b/core/templates/confirmation.php @@ -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> |