Fix: Reset settings by plugin name, not the settings key name

This commit is contained in:
slawkens
2026-04-12 13:20:48 +02:00
parent a467a540b1
commit e274b83504
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
</div>
</div>
<form id="reset-settings-form" method="post" action="{{ constant('ADMIN_URL') }}?p=settings&plugin={{ settingsKeyName }}">
<form id="reset-settings-form" method="post" action="{{ constant('ADMIN_URL') }}?p=settings&plugin={{ pluginName }}">
{{ csrf() }}
<input type="hidden" name="reset" value="1">
</form>