strong_password icon indicating copy to clipboard operation
strong_password copied to clipboard

Add an ability to customize not only error message, but error details as well

Open ec opened this issue 6 years ago • 0 comments

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",}

ec avatar Feb 07 '19 12:02 ec