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

Add callback methods #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TylerRick
Copy link
Contributor

See #26

flori added 2 commits March 5, 2020 16:52
This patch adds one template method `pwned_after_password_attempt` that
is called after every attempt to sign in allowing to evaluate the
results and log them. It also adds a method `pwned_after_error` that is
called after a Pwned::Error (including Pwned::TimeoutError) has occured
to be notified if there are problems related to the HaveIBeenPwned API.
@TylerRick TylerRick mentioned this pull request Apr 27, 2020
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.

2 participants