Merge pull request #954 from woutersamaey/prevent-autofill-smtp-config

Prevent autofilling SMTP config user and password
This commit is contained in:
Nicolas Dorier
2019-08-05 15:15:41 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ namespace BTCPayServer.Services.Mails
{
get; set;
}
[DataType(DataType.Password)]
public string Password
{
get; set;

View File

@@ -10,7 +10,7 @@
</div>
<div class="row">
<div class="col-md-6">
<form method="post">
<form method="post" autocomplete="off">
<div class="form-group">
<label asp-for="Settings.Server"></label>
<input asp-for="Settings.Server" class="form-control" />