mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
21 lines
327 B
CoffeeScript
21 lines
327 B
CoffeeScript
|
|
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
|
|
|