diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index d99d9b596d..0e7cacc8e6 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -403,7 +403,11 @@ module.exports = class Router ), AuthenticationController.httpAuth, CompileController.getFileFromClsiWithoutUser - publicApiRouter.post '/api/institutions/confirm_university_domain', AuthenticationController.httpAuth, InstitutionsController.confirmDomain + publicApiRouter.post '/api/institutions/confirm_university_domain', RateLimiterMiddlewear.rateLimit({ + endpointName: 'confirm-university-domain', + maxRequests: 1, + timeInterval: 60 + }), AuthenticationController.httpAuth, InstitutionsController.confirmDomain webRouter.get '/chrome', (req, res, next) -> # Match v1 behaviour - this is used for a Chrome web app