Merge pull request #1475 from sharelatex/sk-dont-require-login-email-confirmation

Don't require login for email confirmation action

GitOrigin-RevId: 653baa394a8cdc08e4a52681d64fbd18ae34baca
This commit is contained in:
Chrystal Maria Griffiths 2019-02-04 11:14:27 +00:00 committed by sharelatex
parent d187b6b186
commit f5a6992aaa

View file

@ -121,7 +121,6 @@ module.exports = class Router
webRouter.get '/user/emails/confirm', webRouter.get '/user/emails/confirm',
UserEmailsController.showConfirm UserEmailsController.showConfirm
webRouter.post '/user/emails/confirm', webRouter.post '/user/emails/confirm',
AuthenticationController.requireLogin(),
RateLimiterMiddlewear.rateLimit({ RateLimiterMiddlewear.rateLimit({
endpointName: "confirm-email" endpointName: "confirm-email"
maxRequests: 10 maxRequests: 10