From cc1e4f916f9b0eb248f4648951f8e511285c1960 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 30 Jun 2018 18:05:51 -0700 Subject: Avoid Chrome to autocomplete no-login password fields Browsers always autocomplete saved passwords even with autocomplete="off". https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion --- template/html/add_subscription.html | 4 +-- template/html/choose_subscription.html | 4 +-- template/html/create_user.html | 4 +-- template/html/edit_feed.html | 4 +-- template/html/edit_user.html | 6 ++-- template/html/integrations.html | 12 ++++---- template/html/settings.html | 4 +-- template/views.go | 54 +++++++++++++++++----------------- 8 files changed, 46 insertions(+), 46 deletions(-) (limited to 'template') diff --git a/template/html/add_subscription.html b/template/html/add_subscription.html index bff7975..6c6ef4d 100644 --- a/template/html/add_subscription.html +++ b/template/html/add_subscription.html @@ -42,10 +42,10 @@ - + - +
diff --git a/template/html/choose_subscription.html b/template/html/choose_subscription.html index 7668605..ad1c38a 100644 --- a/template/html/choose_subscription.html +++ b/template/html/choose_subscription.html @@ -19,8 +19,8 @@
- - + + {{ if .form.Crawler }} {{ end }} diff --git a/template/html/create_user.html b/template/html/create_user.html index ada1c13..f46defe 100644 --- a/template/html/create_user.html +++ b/template/html/create_user.html @@ -30,10 +30,10 @@ {{ end }} - + - + diff --git a/template/html/edit_feed.html b/template/html/edit_feed.html index 704472b..8b7c560 100644 --- a/template/html/edit_feed.html +++ b/template/html/edit_feed.html @@ -46,10 +46,10 @@ - + - + diff --git a/template/html/edit_user.html b/template/html/edit_user.html index 06539d9..7825021 100644 --- a/template/html/edit_user.html +++ b/template/html/edit_user.html @@ -33,13 +33,13 @@ {{ end }} - + - + - + diff --git a/template/html/integrations.html b/template/html/integrations.html index 5eef264..593db81 100644 --- a/template/html/integrations.html +++ b/template/html/integrations.html @@ -38,7 +38,7 @@ - +

{{ t "Fever API endpoint:" }} {{ rootURL }}{{ route "feverEndpoint" }}

@@ -50,7 +50,7 @@ - + @@ -70,7 +70,7 @@ - +

Pocket

@@ -85,7 +85,7 @@ {{ end }} - + {{ if not .form.PocketAccessToken }}

{{ t "Connect your Pocket account" }}

@@ -105,13 +105,13 @@ - + - +

Nunux Keeper

diff --git a/template/html/settings.html b/template/html/settings.html index 8e66a10..7e76569 100644 --- a/template/html/settings.html +++ b/template/html/settings.html @@ -32,10 +32,10 @@ - + - + {{ t "Fetch original content" }} - + - +
@@ -250,8 +250,8 @@ var templateViewsMap = map[string]string{ - - + + {{ if .form.Crawler }} {{ end }} @@ -331,10 +331,10 @@ var templateViewsMap = map[string]string{ {{ end }} - + - + @@ -426,10 +426,10 @@ var templateViewsMap = map[string]string{ - + - + @@ -496,13 +496,13 @@ var templateViewsMap = map[string]string{ {{ end }} - + - + - + @@ -869,7 +869,7 @@ var templateViewsMap = map[string]string{ - +

{{ t "Fever API endpoint:" }} {{ rootURL }}{{ route "feverEndpoint" }}

@@ -881,7 +881,7 @@ var templateViewsMap = map[string]string{ - + @@ -901,7 +901,7 @@ var templateViewsMap = map[string]string{ - +

Pocket

@@ -916,7 +916,7 @@ var templateViewsMap = map[string]string{ {{ end }} - + {{ if not .form.PocketAccessToken }}

{{ t "Connect your Pocket account" }}

@@ -936,13 +936,13 @@ var templateViewsMap = map[string]string{ - + - +

Nunux Keeper

@@ -1111,10 +1111,10 @@ var templateViewsMap = map[string]string{ - + - +