...
|
...
|
@@ -11,6 +11,7 @@ const login = require('./controllers/login'); |
|
|
const back = require('./controllers/back');
|
|
|
const bind = require('./controllers/bind');
|
|
|
const reg = require('./controllers/reg');
|
|
|
const reset = require('./controllers/reset');
|
|
|
|
|
|
const disableBFCahce = require('../../doraemon/middleware/disable-BFCache');
|
|
|
|
...
|
...
|
@@ -117,6 +118,9 @@ router.post('/passport/reg/verifycode', reg.guardStep(2), reg.verifyCode); |
|
|
router.get('/passport/reg/password', reg.guardStep(3), reg.password);
|
|
|
router.post('/passport/reg/setpassword', reg.guardStep(3), reg.setPassword);
|
|
|
|
|
|
router.get('/passport/password/resetpage', reset.passwordResetPage); // 重置密码页面
|
|
|
router.post('/passport/password/reset', reset.passwordReset); // 重置密码
|
|
|
|
|
|
/**
|
|
|
* 密码找回
|
|
|
*/
|
...
|
...
|
|