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

12 lines
412 B
CoffeeScript
Raw Normal View History

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