diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-07-02 17:37:13 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-07-02 17:37:13 -0400 |
| commit | 544ee1236d188f1d24654817481abcf8d078facd (patch) | |
| tree | 70045eccfbd282369b39f3f94ad31a51576537a4 /server/index.js | |
| parent | 3a4ce7f31adc53b3c22e9dc75155de0281521ef0 (diff) | |
password reset email; also sends email
Diffstat (limited to 'server/index.js')
| -rw-r--r-- | server/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/index.js b/server/index.js index 4b628e4..1db7e04 100644 --- a/server/index.js +++ b/server/index.js @@ -92,8 +92,8 @@ site.route = function () { app.post('/auth/usernameTaken', auth.usernameFixed); app.get('/auth/password', auth.views.resetPassword); app.post('/auth/password', auth.resetPassword); - app.post('/auth/passwordForgot', auth.forgotPassword); - + app.get('/auth/forgotPassword', views.modal); + app.post('/auth/forgotPassword', auth.forgotPassword); app.get('/profile', views.profile) app.get('/profile/edit', views.profile) |
