Module: NOBSPW_RAILS7::ValidationMethods
- Included in:
- PasswordChecker
- Defined in:
- lib/nobspw_rails7/validation_methods.rb
Constant Summary collapse
- DEFAULT_VALIDATION_METHODS =
%i(password_empty? name_included_in_password? username_included_in_password? email_included_in_password? domain_included_in_password? password_too_short? password_too_long? not_enough_unique_characters? password_not_allowed? password_too_common?)
- INTERRUPT_VALIDATION_FOR =
%i(password_empty?)
- STDIN_GREP_COMMAND =
['/usr/bin/grep', '-m 1', '-f', '/dev/stdin', NOBSPW_RAILS7.configuration.dictionary_path]