mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
22 lines
327 B
CoffeeScript
22 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
|
||
|
|