diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-09-11 01:46:45 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-09-11 01:46:45 -0700 |
commit | 67f45cfa781ef4b446676e199470e421f5463812 (patch) | |
tree | 751fabecfcd5892f100604dd9ed2bb947d9c0b08 /modules/gallery/views | |
parent | a88b3f580812e7670933a6d695c89ef93f0142d4 (diff) |
Add CSRF protection to the upgrader. And update the CLI output so
that it tells you which modules failed to upgrade properly. Fixes
ticket #1359.
Diffstat (limited to 'modules/gallery/views')
-rw-r--r-- | modules/gallery/views/upgrader.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index c2d8a552..554cf30d 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -84,7 +84,7 @@ </div> <? else: ?> <div id="upgrade_button" class="button button-active"> - <a id="upgrade_link" href="<?= url::site("upgrader/upgrade") ?>"> + <a id="upgrade_link" href="<?= url::site("upgrader/upgrade?csrf=__CSRF__") ?>"> <?= t("Upgrade all") ?> </a> </div> |