{"repo":"HCLarsen/devise-uncommon_password","free":true,"listed":false,"github":"https://github.com/HCLarsen/devise-uncommon_password","clone":"git clone https://github.com/HCLarsen/devise-uncommon_password.git","description":"Devise extension to prevent users from using a common password.","language":"JavaScript","stars":27,"topics":["rails","ruby","authentication","devise"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Devise Uncommon Password Devise::UncommonPassword is an extension for the devise gem, which prevents users from signing up using one of the 100 most common passwords. The list is derived from the darkweb2017 top10K.txt found at: https://github.com/danielmiessler/SecLists/tree/master/Passwords. Usage Add the :uncommon password module to your model: By default, the password is checked against the 100 most common passwords that fit within the minimum and maximum lengths specified in the /config/initializers/devise.rb file. However, if a developer wants to check against a larger list, they may override this default by adding the following line to that same file: Internationalization and Customization The default message for users who attempt to use a common password is: This can be changed by modifying the devise.en.yml file, under errors/messages/common password. Translations can be provided using the devise translation files in the same location. Installation Add this line to your application's Gemfile: And then execute: Contributing You can contribute by doing the following: Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it Fork it Write your changes Test Commit Send a pull request License The gem is available as open source under the terms of the MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/HCLarsen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HCLarsen/devise-uncommon_password/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}