overleaf/services/web/app/coffee/Features/PasswordReset/PasswordResetRouter.coffee

10 lines
351 B
CoffeeScript
Raw Normal View History

2014-05-15 11:20:23 -04:00
module.exports =
apply: (app) ->
2014-05-15 11:50:38 -04:00
app.get '/user/password/reset', PasswordResetController.renderRequestResetForm
app.post '/user/password/reset', ProjectDownloadsController.requestReset
2014-05-15 11:20:23 -04:00
2014-05-15 11:50:38 -04:00
app.get '/user/password/set', PasswordResetController.renderSetPasswordForm
2014-05-15 11:20:23 -04:00
app.post '/user/password/set', PasswordResetController.setNewUserPassword