Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈轩
9 years ago
Commit
8a562cfb9048435d40ff27c8f1c01ff9e2d28b44
1 parent
022a90d5
找回密码,短信登录 回退
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
apps/passport/controllers/back.js
apps/passport/controllers/sms.js
apps/passport/controllers/back.js
View file @
8a562cf
...
...
@@ -23,7 +23,7 @@ const indexEmailPage = (req, res) => {
page
:
'back-email'
,
title
:
'找回密码-通过邮箱'
},
{
backUrl
:
SIGN_IN
,
//
backUrl: SIGN_IN,
headerText
:
'找回密码'
,
isPassportPage
:
true
,
backEmail
:
true
...
...
@@ -100,7 +100,7 @@ const backSuccessByEmailPage = (req, res) => {
page
:
'back-email-success'
,
title
:
'找回密码-通过邮箱'
},
{
backUrl
:
helpers
.
urlFormat
(
'/passport/back/email'
),
//
backUrl: helpers.urlFormat('/passport/back/email'),
headerText
:
'找回密码'
,
isPassportPage
:
true
,
backEmailSuccess
:
true
,
...
...
@@ -145,7 +145,7 @@ const indexMobilePage = (req, res, next) => {
page
:
'back-mobile'
,
title
:
'找回密码-通过手机号'
},
{
backUrl
:
SIGN_IN
,
//
backUrl: SIGN_IN,
headerText
:
'找回密码'
,
isPassportPage
:
true
,
backMobile
:
true
,
...
...
@@ -203,7 +203,7 @@ const verifyCodeByMobilePage = (req, res) => {
page
:
'back-code'
,
title
:
'找回密码-通过手机号'
},
{
backUrl
:
helpers
.
urlFormat
(
'/passport/back/mobile'
),
//
backUrl: helpers.urlFormat('/passport/back/mobile'),
headerText
:
'找回密码'
,
isPassportPage
:
true
,
backCode
:
true
,
...
...
@@ -261,7 +261,7 @@ const setNewPasswordByMobilePage = (req, res) => {
page
:
'back-new-password'
,
title
:
'找回密码-输入新密码'
},
{
backUrl
:
SIGN_IN
,
//
backUrl: SIGN_IN,
headerText
:
'找回密码'
,
isPassportPage
:
true
,
backNewPwd
:
true
,
...
...
apps/passport/controllers/sms.js
View file @
8a562cf
...
...
@@ -30,7 +30,6 @@ const _step1 = (req, res, next) => {
module
:
'passport'
,
page
:
'sms-login'
,
title
:
'手机短信登录'
,
backUrl
:
'/passport/login'
,
isPassportPage
:
true
,
headerText
:
'手机号码快捷登录'
,
areaCode
:
'+86'
,
// 默认的区号
...
...
@@ -51,7 +50,6 @@ const _step2 = (req, res, next) => {
module
:
'passport'
,
page
:
'sms-check'
,
title
:
'手机短信登录'
,
backUrl
:
'/passport/sms_login?step=1'
,
isPassportPage
:
true
,
headerText
:
'手机号码快捷登录'
,
canResend
:
interval
<
Date
.
now
(),
...
...
@@ -69,7 +67,6 @@ const _step3 = (req, res, next) => {
module
:
'passport'
,
page
:
'sms-password'
,
title
:
'设置密码'
,
backUrl
:
'/passport/sms_login?step=2'
,
isPassportPage
:
true
,
headerText
:
'设置密码'
};
...
...
Please
register
or
login
to post a comment