aio-interface: also reset the borg backup cache when resetting the backup path (#7998)

This commit is contained in:
Simon L.
2026-04-27 14:36:05 +02:00
committed by GitHub
5 changed files with 29 additions and 9 deletions

View File

@@ -566,8 +566,7 @@
{% endif %}
is wrong or if you want to reset the backup location due to other reasons, you can do so by clicking on the button below.
</p>
<form method="POST" action="api/configuration" class="xhr">
<input type="hidden" name="delete_borg_backup_location_vars" value="yes"/>
<form method="POST" action="api/docker/backup-reset-location" class="xhr">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
<input type="submit" value="Reset backup location" data-confirm='Are you sure that you want to reset the backup location?' />