From c0d72a12cfb87c8dd3fd01eb9e086d59efeaaa60 Mon Sep 17 00:00:00 2001
From: sistason <c3infra@sistason.de>
Date: Sun, 25 Jun 2023 15:40:30 +0000
Subject: [PATCH] disable autocompletion in edit-user form for emails as well

---
 uffd/templates/user/show.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uffd/templates/user/show.html b/uffd/templates/user/show.html
index c53f172..e5f2835 100644
--- a/uffd/templates/user/show.html
+++ b/uffd/templates/user/show.html
@@ -3,7 +3,7 @@
 {% macro new_email_row(tmp_id) %}
 <tr>
 	<td>
-		<input class="form-control form-control-sm" type="email" name="newemail-{{ tmp_id }}-address" placeholder="{{ _('New address') }}">
+		<input class="form-control form-control-sm" type="email" name="newemail-{{ tmp_id }}-address" placeholder="{{ _('New address') }}" autocomplete="off">
 	</td>
 	<td class="text-center">
 		<input type="checkbox" value="1" name="newemail-{{ tmp_id }}-verified">
-- 
GitLab