Fixed: Hide password field text for PlexClient notifications

This commit is contained in:
Qstick 2018-04-11 23:00:39 -04:00
parent 19aacd4fff
commit ca1ef7e151
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using FluentValidation;
using FluentValidation;
using NzbDrone.Core.Annotations;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation;
@ -32,7 +32,7 @@ namespace NzbDrone.Core.Notifications.Plex
[FieldDefinition(2, Label = "Username")]
public string Username { get; set; }
[FieldDefinition(3, Label = "Password")]
[FieldDefinition(3, Label = "Password", Type = FieldType.Password)]
public string Password { get; set; }
public bool IsValid => !string.IsNullOrWhiteSpace(Host);