add rate limit to all email-sending endpoints

This commit is contained in:
x032205
2025-05-09 11:29:53 -04:00
parent 428c60880a
commit e9d8979cf4
8 changed files with 33 additions and 6 deletions
+3
View File
@@ -98,6 +98,9 @@ export const registerLdapRouter = async (server: FastifyZodProvider) => {
server.route({
url: "/login",
method: "POST",
config: {
rateLimit: writeLimit
},
schema: {
body: z.object({
organizationSlug: z.string().trim()