Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Hooks for logging and IP blocking #90

Open
kitchin opened this issue Jan 27, 2014 · 0 comments
Open

Hooks for logging and IP blocking #90

kitchin opened this issue Jan 27, 2014 · 0 comments

Comments

@kitchin
Copy link

kitchin commented Jan 27, 2014

Any interest in adding a few hooks? I made a custom version with hooks back in 0.33 days and have now updated it for 0.48. Two purposes:

  1. Log persona failures & successes. This one needs browserid hooks.
  2. Block by IP. This one probably needs browserid hooks to do it nicely. I'm blocking the login button itself and replacing it with a message, as well as double-checking before forwarding an assertion.

I'll post a branch if there's any interest. My code does not do the logging or blocking, it's just hooks, in 3 different functions (Handle_error, Check_assertion, Handle_login).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant