mirror of https://github.com/kortix-ai/suna.git
hotfix(vuln): send-welcome-email
This commit is contained in:
parent
25ea6e1035
commit
b38637d043
|
@ -21,6 +21,10 @@ async def send_welcome_email(
|
|||
request: SendWelcomeEmailRequest,
|
||||
_: bool = Depends(verify_admin_api_key)
|
||||
):
|
||||
raise HTTPException(
|
||||
status_code=403,
|
||||
detail="Forbidden"
|
||||
)
|
||||
try:
|
||||
|
||||
def send_email():
|
||||
|
|
Loading…
Reference in New Issue