|
@@ -14,9 +14,6 @@ const sessionService = require('../models/session-service'); |
|
@@ -14,9 +14,6 @@ const sessionService = require('../models/session-service'); |
14
|
// 本地地址 localhost
|
14
|
// 本地地址 localhost
|
15
|
helpers.urlFormat = helpers.fakeUrlFormat;
|
15
|
helpers.urlFormat = helpers.fakeUrlFormat;
|
16
|
|
16
|
|
17
|
-const SIGN_IN_URL = helpers.urlFormat('/signin.html');
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
/**
|
17
|
/**
|
21
|
* 找回密码主页面
|
18
|
* 找回密码主页面
|
22
|
*/
|
19
|
*/
|
|
@@ -127,7 +124,8 @@ module.exports.resetPasswordPage = (req, res, next) => { |
|
@@ -127,7 +124,8 @@ module.exports.resetPasswordPage = (req, res, next) => { |
127
|
.then(result => {
|
124
|
.then(result => {
|
128
|
res.render('back/reset-pwd', Object.assign({
|
125
|
res.render('back/reset-pwd', Object.assign({
|
129
|
module: 'passport',
|
126
|
module: 'passport',
|
130
|
- page: 'back-reset-pwd'
|
127
|
+ page: 'back-reset-pwd',
|
|
|
128
|
+ title:'重新设置密码'
|
131
|
}, {
|
129
|
}, {
|
132
|
code: code
|
130
|
code: code
|
133
|
}, result))
|
131
|
}, result))
|