You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe allow the HibpCheck instance to be specified in a config somewhere so users can configure it if needed.
Would it be at all useful to be able to specify a minimum number of breaches needed to trigger the validation error or is minimum: 1 always what users will want?
Uh oh!
There was an error while loading. Please reload this page.
Provide a validator so you can simply add something like this to your model:
or
Maybe something like this...
Maybe allow the HibpCheck instance to be specified in a config somewhere so users can configure it if needed.
Would it be at all useful to be able to specify a minimum number of breaches needed to trigger the validation error or is
minimum: 1
always what users will want?Maybe provide a default
en.yml
locale file in the Railtie so it works out of the box? (That's what I did with https://github.com/TylerRick/activemodel-validators/blob/master/config/locales/en.yml anyway.) I think users can still easily override in their app'sen.yml
file...The text was updated successfully, but these errors were encountered: