strong_password
strong_password copied to clipboard
Add an ability to customize not only error message, but error details as well
Due to Rails 5 innovation - adding error.details will be cool to have an opportunity to customize it. Now it is ->
{:error=>:"password.password_strength",
:use_dictionary=>true,
:min_entropy=>14,
:value=>""}
For some reasons (unifying errors format in the app to be compatible for translations) i need to have smth like
{:error=>:"low_strength",}