mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2025-12-14 17:49:19 +00:00
Added rate limiter for send-email
This commit is contained in:
@@ -13,7 +13,7 @@ from app.core.config import settings
|
||||
def send_email_notification(
|
||||
subject: str,
|
||||
body: str
|
||||
) -> partial:
|
||||
) -> partial | None:
|
||||
|
||||
if settings.EMAIL_RECIPIENTS:
|
||||
conf = ConnectionConfig(
|
||||
|
||||
Reference in New Issue
Block a user