jazzband / django-defender

A simple super fast django reusable app that blocks people from brute forcing login attempts
Apache License 2.0
1.02k stars 143 forks source link

Email users when their account is blocked #240

Open saurav-codes opened 4 months ago

saurav-codes commented 4 months ago

I saw this in long term goal of this project & wanted to work on it.

kencochrane commented 4 months ago

Sounds good, thank you.

saurav-codes commented 4 months ago

@kencochrane I have created this PR #242 it's not the final yet. So i created this with initial changes. ( first make it work then optimize it ). Here we are using a synchronous way of sending email to user ( i am getting the email by search user from username in DB )

please have a look and let me know what needs to change or improve. if everything looks good then i will proceed with adding readme and test for this change.