Shouldn't the Complexity constraint value be limited to 1, 2, 3, or 4?

Comments

AohRveTPV’s picture

Yes, it should be limited to those values (or empty string to disable). Actually none of the constraints' values are validated. Adding validation is nontrivial because I believe the Constraints API would need to add a callback so the constraint could validate the configuration values. We should do it though.

AohRveTPV’s picture

Title: Restrict Complexity constraint value to 1 thru 4 » Add validation of constraint values
Version: 7.x-1.11 » 7.x-1.x-dev

Make title more general per #1.