overleaf/services/web/app/coffee/Features/PasswordReset/PasswordResetRouter.coffee
2014-05-15 16:50:38 +01:00

9 lines
351 B
CoffeeScript

module.exports =
apply: (app) ->
app.get '/user/password/reset', PasswordResetController.renderRequestResetForm
app.post '/user/password/reset', ProjectDownloadsController.requestReset
app.get '/user/password/set', PasswordResetController.renderSetPasswordForm
app.post '/user/password/set', PasswordResetController.setNewUserPassword