Fixed: Correct Password and Username field Privacy

Fixed: Consistent help text and settings for Credential Fields
This commit is contained in:
bakerboy448
2021-06-21 11:57:55 -05:00
committed by GitHub
parent 1ce7b0e56e
commit 538db52d16
21 changed files with 38 additions and 38 deletions
@@ -343,10 +343,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username", Type = FieldType.Textbox, Privacy = PrivacyLevel.UserName)]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", HelpText = "Site Password", Type = FieldType.Password, Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
public NzbDroneValidationResult Validate()