module.exports = requestPasswordReset: -> # check user exists # generate token # send email token link renderPasswordResetForm: -> # check that the token is valid # render html changeUsersPasswordFromReset: -> # check auth again # check both passwords match # set passowrd # redir to login form