Authored by 郭成尧

jaoyan

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2017-04-13 10:21:07 3 * @Date: 2017-04-13 10:21:07
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2017-04-18 11:12:16 5 + * @Last Modified time: 2017-04-20 18:33:48
6 */ 6 */
7 7
8 /* ******************** 8 /* ********************
@@ -37,7 +37,7 @@ const passwordResetPage = (req, res) => { @@ -37,7 +37,7 @@ const passwordResetPage = (req, res) => {
37 page: 'reset', 37 page: 'reset',
38 pageStyle: 'passport-body', 38 pageStyle: 'passport-body',
39 title: '重置密码', 39 title: '重置密码',
40 - canSkip: passwordWeakObj.canSkip === 'Y' ? refer : false 40 + canSkip: (passwordWeakObj && passwordWeakObj.canSkip === 'Y') ? refer : false
41 }); 41 });
42 }; 42 };
43 43