diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-23 16:48:56 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-23 16:48:56 +1000 |
| commit | c8062fbf767100a46e32a81ed34d8d8eaf5c45e7 (patch) | |
| tree | 6f0507630491207006aab332d907e84eb169d723 /templates/mod/themes.html | |
| parent | 00f4da3b82afda892906578ec1bd3c766fe0cd45 (diff) | |
CSRF more mod pages
Diffstat (limited to 'templates/mod/themes.html')
| -rw-r--r-- | templates/mod/themes.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mod/themes.html b/templates/mod/themes.html index b596826d..b230bc48 100644 --- a/templates/mod/themes.html +++ b/templates/mod/themes.html @@ -28,8 +28,8 @@ {% if theme_name in themes_in_use %}{% trans 'Reconfigure' %}{% else %}{% trans 'Install' %}{% endif %} </a></li> {% if theme_name in themes_in_use %} - <li><a href="?/themes/{{ theme_name }}/rebuild">{% trans 'Rebuild' %}</a></li> - <li><a href="?/themes/{{ theme_name }}/uninstall" onclick="return confirm('Are you sure you want to uninstall this theme?');">{% trans 'Uninstall' %}</a></li> + <li><a href="?/themes/{{ theme_name }}/rebuild/{{ theme.rebuild_token }}">{% trans 'Rebuild' %}</a></li> + <li><a href="?/themes/{{ theme_name }}/uninstall/{{ theme.uninstall_token }}" onclick="return confirm('Are you sure you want to uninstall this theme?');">{% trans 'Uninstall' %}</a></li> {% endif %} </ul></td> </tr> |
