Simplify password validation
Merge pull request #15 from lydell/simpler-password-validation

Simplify password validation