rollerworks / PasswordStrengthBundle

Symfony Password strength and blacklisting validator bundle
MIT License
142 stars 26 forks source link

Blacklist Update Command File Option Bug #31

Closed austinh closed 9 years ago

austinh commented 9 years ago

I get the following error when running php app/console rollerworks-password:blacklist:update --file="john.txt"

[RuntimeException]

The "--file" option does not accept a value.

This is caused by https://github.com/rollerworks/PasswordStrengthBundle/blob/master/src/Command/BlacklistUpdateCommand.php#L30

If set to null, Symfony defaults to InputOption::NONE and therefore cannot take a value. I will include a pull request to fix this.