mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 21:39:34 +02:00
More validation for Settings.
This commit is contained in:
@@ -11,6 +11,7 @@ namespace NzbDrone.Web.Models
|
||||
[DisplayName("Port")]
|
||||
[Description("Port that NzbDrone runs on")]
|
||||
[Range(1, 65535, ErrorMessage = "Port must be between 1 and 65535")]
|
||||
[Required(ErrorMessage = "Port must be between 1 and 65535")]
|
||||
public int Port { get; set; }
|
||||
|
||||
[DisplayName("Launch Browser")]
|
||||
|
Reference in New Issue
Block a user