-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Description
Description
There is no such method called "post gt-dib". This effectively defaulted to a GET request. Please fix this.
Screenshots
gitea/templates/repo/settings/options.tmpl
Lines 94 to 98 in 78fdbaf
<form method="post gt-dib"> | |
{{.CsrfTokenHtml}} | |
<input type="hidden" name="action" value="mirror-sync"> | |
<button class="ui primary tiny button inline text-thin">{{$.locale.Tr "repo.settings.sync_mirror"}}</button> | |
</form> |
gitea/templates/repo/settings/options.tmpl
Lines 172 to 183 in 78fdbaf
<form method="post gt-dib"> | |
{{$.CsrfTokenHtml}} | |
<input type="hidden" name="action" value="push-mirror-remove"> | |
<input type="hidden" name="push_mirror_id" value="{{.ID}}"> | |
<button class="ui basic red tiny button inline text-thin">{{$.locale.Tr "remove"}}</button> | |
</form> | |
<form method="post gt-dib"> | |
{{$.CsrfTokenHtml}} | |
<input type="hidden" name="action" value="push-mirror-sync"> | |
<input type="hidden" name="push_mirror_id" value="{{.ID}}"> | |
<button class="ui primary tiny button inline text-thin">{{$.locale.Tr "repo.settings.sync_mirror"}}</button> | |
</form> |
Gitea Version
nightly
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
No response
Browser Version
Edge