Skip to content

Expose pwned_count

Latest
Compare
Choose a tag to compare
@michaelbanfield michaelbanfield released this 05 Jul 17:43
· 52 commits to master since this release

Thanks for @barrywoolgar for contributing to this release.

This release exposes pwned_count the number of times a password has been pwned to the devise'd model. This allows surfacing this value in the UI, or making a more granular validation decision based on the amount of pwnage. The count has a default of 0 so it can be safely used without a nil check.