mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-22 22:34:53 -04:00
More validation for Settings.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace NzbDrone.Web.Models
|
||||
[DisplayName("Username")]
|
||||
[Description("Username for NZB Matrix")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
[RequiredIf("NzbMatrixEnabled", true, ErrorMessage = "USername Required when NZBMatrix is enabled")]
|
||||
[RequiredIf("NzbMatrixEnabled", true, ErrorMessage = "Username Required when NZBMatrix is enabled")]
|
||||
public String NzbMatrixUsername { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
|
||||
Reference in New Issue
Block a user