summaryrefslogtreecommitdiff
path: root/server/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/index.js')
-rw-r--r--server/index.js4
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)