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
commit fb77fddcc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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" />