Don't display observation window and lockout duration if lockout threshhold is 0, as they are disabled then
parent
4d6d3bf766
commit
b192c036cb
|
@ -97,8 +97,8 @@ class NXCModule:
|
|||
context.log.highlight("Minimum Password Length: " + str(passwordLength))
|
||||
context.log.highlight("Minimum Password History Length: " + str(passwordhistorylength))
|
||||
context.log.highlight("Lockout Threshold: " + str(lockoutThreshold))
|
||||
context.log.highlight("Observation Window: " + mins(obersationWindow))
|
||||
context.log.highlight("Lockout Duration: " + mins(lockoutDuration))
|
||||
context.log.highlight("Observation Window: " + ("NONE" if str(lockoutThreshold) == "0" else mins(obersationWindow)))
|
||||
context.log.highlight("Lockout Duration: " + ("NONE" if str(lockoutThreshold) == "0" else mins(lockoutDuration)))
|
||||
context.log.highlight("Complexity Enabled: " + str(complexity))
|
||||
context.log.highlight("Minimum Password Age: " + days(minPassAge))
|
||||
context.log.highlight("Maximum Password Age: " + days(maxPassAge))
|
||||
|
|
Loading…
Reference in New Issue