From 7841f79f3166be1c3dc1004bff37da474bf0a0b9 Mon Sep 17 00:00:00 2001 From: Wouter Samaey Date: Fri, 2 Aug 2019 20:35:48 +0200 Subject: [PATCH 1/2] Prevent autofilling SMTP config user and password --- BTCPayServer/Views/Shared/EmailsBody.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Shared/EmailsBody.cshtml b/BTCPayServer/Views/Shared/EmailsBody.cshtml index 142f6a124..56dd5ceb4 100644 --- a/BTCPayServer/Views/Shared/EmailsBody.cshtml +++ b/BTCPayServer/Views/Shared/EmailsBody.cshtml @@ -10,7 +10,7 @@
-
+
From c37086e0002853a349cee076ec754f9789cf3a83 Mon Sep 17 00:00:00 2001 From: Wouter Samaey Date: Sun, 4 Aug 2019 17:17:55 +0200 Subject: [PATCH 2/2] Change type of SMTP password field to plain text, preventing autofill once and for all --- BTCPayServer/Services/Mails/EmailSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Services/Mails/EmailSettings.cs b/BTCPayServer/Services/Mails/EmailSettings.cs index 890c6428f..07d77aef0 100644 --- a/BTCPayServer/Services/Mails/EmailSettings.cs +++ b/BTCPayServer/Services/Mails/EmailSettings.cs @@ -24,7 +24,7 @@ namespace BTCPayServer.Services.Mails { get; set; } - [DataType(DataType.Password)] + public string Password { get; set;