From 268b2d0c91fe7ff792ba22df5e11d34446224fb6 Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 2 Sep 2021 13:14:37 +0100 Subject: Prevent leave changes dialogs due to autofill fields (#16912) Add ignore-dirty to /user/settings/account Add autocomplete="off" to push_mirror_address form on /:owner/:repo/settings Fix #16861 Signed-off-by: Andrew Thornton --- templates/repo/settings/options.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/repo/settings') diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 054df7c368..4054158544 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -198,7 +198,7 @@
- +

{{.i18n.Tr "repo.mirror_address_desc"}}

-- cgit v1.2.3