mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
More validation for Settings.
This commit is contained in:
parent
8f3d4e3128
commit
c0e0bf7e66
16 changed files with 185 additions and 66 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue