mirror of https://github.com/nextcloud/server.git
Confirm mails only per POST
- this is to avoid automatic confirmation by certain softwares that open links Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>pull/28422/head
parent
a20de15b43
commit
0dee717c94
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/** @var array $_ */
|
||||
/** @var \OCP\IL10N $l */
|
||||
/** @var \OCP\Defaults $theme */
|
||||
|
||||
?>
|
||||
|
||||
<div class="update">
|
||||
<form method="POST" action="<?php print_unescaped($_['targetUrl']);?>">
|
||||
<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>
|
Loading…
Reference in New Issue