Authored by 周少峰

Merge branch 'feature/captch-change'

... ... @@ -201,6 +201,6 @@ router.get('/passport/back/resetSuccess',
router.get('/passport/imagesNode', captcha.generate);
router.post('/passport/captcha/img', captcha.checkAPI);
router.get('/passport/images', captcha.generateQiniu);
router.get('/passport/images.png', captcha.generateQiniu);
module.exports = router;
... ...
... ... @@ -6,6 +6,7 @@ const _ = require('lodash');
const WHITE_LIST = [
'/3party/check',
'/passport/imagesNode',
'/passport/images.png',
'/passport/cert/headerTip'
];
... ...
{
"name": "yohobuy-node",
"version": "5.4.23",
"version": "5.4.25",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -5,7 +5,7 @@
var Captcha = function(container, options) {
var optionDefault = {
template: require('hbs/common/captcha.hbs'),
refreshURI: '/passport/images',
refreshURI: '/passport/images.png',
checkURI: '/passport/captcha/img'
};
... ...