1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-28 13:18:37 +00:00

Prevent duplicate form submissions when creating forks (#34714)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Kerwin Bryant
2025-06-16 12:19:16 +08:00
committed by GitHub
parent 637070e07b
commit bbee652e29
3 changed files with 17 additions and 15 deletions

View File

@@ -6,7 +6,7 @@
</h3>
<div class="ui attached segment">
{{template "base/alert" .}}
<form class="ui form left-right-form" action="{{.Link}}" method="post">
<form class="ui form form-fetch-action left-right-form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="inline required field {{if .Err_Owner}}error{{end}}">
<label>{{ctx.Locale.Tr "repo.owner"}}</label>