Open eliotsykes opened 5 years ago
Not a bad idea!
Too bad it would render use of https://github.com/philnash/pwned library redundant. I feel like pwned is a more solid library, and certainly seems more configurable, so I'd personally prefer to keep using it (but my bias may be unfounded).
It seems pretty unlikely that the haveibeenpwned API would go down for a significant length of time...
Consider using the unpwn gem to check passwords locally https://github.com/indirect/unpwn
As a bonus, if the haveibeenpwned API is down, at least there's still some checks applied.