From d2d9bc846ec13b7a8c5be3c6e671561ea4afcdc8 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Wed, 8 Dec 2021 23:33:14 +0100 Subject: [PATCH] Use disable_form_autofill on Codebase and Gitbucket (#17936) Removes the old fake input on the Codebase migration screen, and adds the disable_form_autofill --- templates/repo/migrate/codebase.tmpl | 2 +- templates/repo/migrate/gitbucket.tmpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/repo/migrate/codebase.tmpl b/templates/repo/migrate/codebase.tmpl index 10727229c6..25390e3241 100644 --- a/templates/repo/migrate/codebase.tmpl +++ b/templates/repo/migrate/codebase.tmpl @@ -3,6 +3,7 @@
+ {{template "base/disable_form_autofill"}} {{.CsrfTokenHtml}}

{{.i18n.Tr "repo.migrate.migrate" .service.Title}} @@ -22,7 +23,6 @@

-
diff --git a/templates/repo/migrate/gitbucket.tmpl b/templates/repo/migrate/gitbucket.tmpl index 9c634dba34..ef5a9255d7 100644 --- a/templates/repo/migrate/gitbucket.tmpl +++ b/templates/repo/migrate/gitbucket.tmpl @@ -3,6 +3,7 @@
+ {{template "base/disable_form_autofill"}} {{.CsrfTokenHtml}}

{{.i18n.Tr "repo.migrate.migrate" .service.Title}}