Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
shijian
8 years ago
Commit
17ed09cc8cde63ef97e195234daeead485631403
1 parent
1939b87b
save
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
apps/passport/controllers/login.js
public/js/passport/login/index.js
apps/passport/controllers/login.js
View file @
17ed09c
...
...
@@ -241,7 +241,7 @@ const local = {
message
:
'格式错误'
});
}
if
(
req
.
session
.
sendMobile
&&
req
.
session
.
sendMobile
!==
mobile
)
{
// ajax中判断
req
.
session
.
sendMobile
=
''
;
req
.
session
.
captcha
=
''
;
...
...
public/js/passport/login/index.js
View file @
17ed09c
...
...
@@ -735,7 +735,8 @@ function loginAsync() {
// 全部的本地验证-- 短信验证登录
function
smsLoginAsync
()
{
return
validateAccount
()
//.then(validateCaptchaImg)
// .then(validateCaptchaImg)
.
then
(
validateCaptchaSms
)
.
then
(
function
()
{
return
login
();
...
...
Please
register
or
login
to post a comment