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

Added Rails validator #3

Merged
merged 10 commits into from
Mar 7, 2018
Merged

Added Rails validator #3

merged 10 commits into from
Mar 7, 2018

Conversation

kpumuk
Copy link
Contributor

@kpumuk kpumuk commented Mar 6, 2018

This PR adds Ruby on Rails ActiveRecord validator for pwned passwords.

See README update for the usage details

@kpumuk
Copy link
Contributor Author

kpumuk commented Mar 6, 2018

Alright, I think it is ready. Let's start a discussion? 😉

@kpumuk
Copy link
Contributor Author

kpumuk commented Mar 6, 2018

I can't come up with any other features for the validator 😄 Should be flexible and safe for use in any environments.

@philnash
Copy link
Owner

philnash commented Mar 7, 2018

This is looking awesome. Love all the options.

Think the only other thing I'd add is a threshold so that a password may be valid if it's only been seen n times before.

I'll merge this and can add that myself before releasing 1.1.0.

@philnash philnash merged commit df81220 into philnash:master Mar 7, 2018
@kpumuk kpumuk deleted the dmytro/rails-validator branch March 7, 2018 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants