Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Django's CommonPasswordValidator to Rails + Devise #479

Open
eoinkelly opened this issue Aug 28, 2023 · 0 comments
Open

Port Django's CommonPasswordValidator to Rails + Devise #479

eoinkelly opened this issue Aug 28, 2023 · 0 comments

Comments

@eoinkelly
Copy link
Contributor

Django includes a password validator which validates passwords against a built-in list of 20k common passwords. I think it would be neat port this to Rails + devise.

The source code for the devise Validatable module demonstrates how we could implement our own custom validations. It may make sense to eventually package this as a gem but we can cross that bridge if/when we have a working version as a PR here.

Another option worth considering is the devise_security_extension gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants