|
@@ -181,6 +181,7 @@ module.exports = function(crowi, app) {
|
|
|
app.post('/_api/forgot-password', forgotPassword.api.post);
|
|
app.post('/_api/forgot-password', forgotPassword.api.post);
|
|
|
app.get('/forgot-password/:token' , passwordReset, forgotPassword.resetPassword);
|
|
app.get('/forgot-password/:token' , passwordReset, forgotPassword.resetPassword);
|
|
|
app.get('/forgot-password/error/:reason' , applicationInstalled, forgotPassword.error);
|
|
app.get('/forgot-password/error/:reason' , applicationInstalled, forgotPassword.error);
|
|
|
|
|
+ app.put('/_api/forgot-password' , applicationInstalled, forgotPassword.api.put);
|
|
|
|
|
|
|
|
app.get('/share/:linkId', page.showSharedPage);
|
|
app.get('/share/:linkId', page.showSharedPage);
|
|
|
|
|
|