opentechinstitute / luci-commotion

Commotion configuration pages for the LuCI web interface
GNU General Public License v3.0
11 stars 17 forks source link

Issue411 #438

Closed gradyoti closed 9 years ago

gradyoti commented 9 years ago

This pull request addresses luci-commotion issue 411: https://github.com/opentechinstitute/luci-commotion/issues/411

Adds input validator function to the "validate" module, and adds a check on the admin password field to make sure password does not exceed 126 characters. Most importantly, it passes an error to the user explaining why the password was rejected.