From 965d0594008d30b64c28ae92e2143d4e1bb9dac5 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Thu, 3 Nov 2022 19:57:43 +0100 Subject: [PATCH] WebUI: try harder to prevent browsers from auto-filling in password fields Signed-off-by: Nicola Murino --- go.mod | 2 +- go.sum | 4 ++-- templates/common/reset-password.html | 2 +- templates/webadmin/admin.html | 2 +- templates/webadmin/adminsetup.html | 4 ++-- templates/webadmin/changepassword.html | 6 +++--- templates/webadmin/eventaction.html | 2 +- templates/webadmin/fsconfig.html | 16 ++++++++-------- templates/webadmin/login.html | 4 ++-- templates/webadmin/user.html | 6 +++--- templates/webclient/changepassword.html | 6 +++--- templates/webclient/login.html | 4 ++-- templates/webclient/share.html | 2 +- 13 files changed, 30 insertions(+), 30 deletions(-) diff --git a/go.mod b/go.mod index e1bd9444..98a9dc41 100644 --- a/go.mod +++ b/go.mod @@ -80,7 +80,7 @@ require ( cloud.google.com/go v0.105.0 // indirect cloud.google.com/go/compute v1.12.1 // indirect cloud.google.com/go/compute/metadata v0.2.1 // indirect - cloud.google.com/go/iam v0.6.0 // indirect + cloud.google.com/go/iam v0.7.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.1 // indirect github.com/ajg/form v1.5.1 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.9 // indirect diff --git a/go.sum b/go.sum index 68a36362..7331b499 100644 --- a/go.sum +++ b/go.sum @@ -60,8 +60,8 @@ cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqCl cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= -cloud.google.com/go/iam v0.6.0 h1:nsqQC88kT5Iwlm4MeNGTpfMWddp6NB/UOLFTH6m1QfQ= -cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= +cloud.google.com/go/iam v0.7.0 h1:k4MuwOsS7zGJJ+QfZ5vBK8SgHBAvYN/23BWsiihJ1vs= +cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= cloud.google.com/go/kms v1.5.0 h1:uc58n3b/n/F2yDMJzHMbXORkJSh3fzO4/+jju6eR7Zg= cloud.google.com/go/longrunning v0.1.1 h1:y50CXG4j0+qvEukslYFBCrzaXX0qpFbBzc3PchSu/LE= diff --git a/templates/common/reset-password.html b/templates/common/reset-password.html index dfc2698c..025a7af2 100644 --- a/templates/common/reset-password.html +++ b/templates/common/reset-password.html @@ -72,7 +72,7 @@ along with this program. If not, see .
+ id="inputPassword" name="password" placeholder="New Password" autocomplete="new-password" required>