File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -551,9 +551,24 @@ public bool CountryBlacklistPreciseBool
551
551
public string ConcurrentRemoteIPBan { get ; set ; } = string . Empty ;
552
552
553
553
/// <summary>
554
- /// All other properties go here. Can document in this comment.
554
+ /// Threshold for banning an ip address range /24 (count, days)
555
555
/// </summary>
556
- [ DisplayFormat ( ConvertEmptyStringToNull = false ) ]
556
+ [ NotMapped ]
557
+ [ IgnoreDataMember ]
558
+ [ XmlIgnore ]
559
+ [ System . Text . Json . Serialization . JsonIgnore ]
560
+ [ Newtonsoft . Json . JsonIgnore ]
561
+ [ LocalizedDisplayName ( nameof ( IPBanResources . BanRangeThreshold ) ) ]
562
+ public string BanRangeThreshold
563
+ {
564
+ get { return PropHelper . GetProp ( PropertiesJson , nameof ( BanRangeThreshold ) ) ; }
565
+ set { PropertiesJson = PropHelper . SetProp ( PropertiesJson , nameof ( BanRangeThreshold ) , value ) ; }
566
+ }
567
+
568
+ /// <summary>
569
+ /// All other properties go here. Can document in this comment.
570
+ /// </summary>
571
+ [ DisplayFormat ( ConvertEmptyStringToNull = false ) ]
557
572
[ Required ( AllowEmptyStrings = true ) ]
558
573
[ JsonProperty ( NullValueHandling = NullValueHandling . Ignore ) ]
559
574
[ DataMember ( Order = 37 ) ]
You can’t perform that action at this time.
0 commit comments