Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郝肖肖
2017-04-19 17:10:48 +0800
Commit
962bcaf5b4edc7eeb5040d4f64a916a6fbbb4feb
2 parents
e5a490a5
c1bea773
Merge branch 'release/5.6' into release/security
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
apps/passport/controllers/back.js
public/js/passport/back/weak.js
public/scss/common/_header.css
public/scss/common/_list.css
apps/passport/controllers/back.js
View file @
962bcaf
...
...
@@ -475,6 +475,12 @@ const modPwdByCodeAPI = (req, res, next) => {
newPwd
:
body
.
newPwd
,
token
:
req
.
session
.
CSToken
}).
then
(
d
=>
{
if
(
d
.
code
===
200
&&
req
.
session
)
{
delete
req
.
session
.
CSToken
;
delete
req
.
session
.
canSkip
;
}
res
.
json
(
d
);
}).
catch
(
next
);
};
...
...
public/js/passport/back/weak.js
View file @
962bcaf
...
...
@@ -92,7 +92,7 @@ $('#pwd, #repwd').keydown(function(e) {
});
$next
.
on
(
'click'
,
function
()
{
var
refer
=
$weakPwdPass
.
data
(
'
href
'
)
||
'/'
;
var
refer
=
$weakPwdPass
.
data
(
'
url
'
)
||
'/'
;
var
$this
=
$
(
this
);
// is frequent click
...
...
public/scss/common/_header.css
View file @
962bcaf
...
...
@@ -1008,7 +1008,7 @@
width
:
15px
;
height
:
14px
;
margin-top
:
-2px
;
margin-right
:
5
px
;
margin-right
:
2
px
;
vertical-align
:
middle
;
}
}
...
...
public/scss/common/_list.css
View file @
962bcaf
...
...
@@ -113,6 +113,7 @@
right
:
-26px
;
background
:
#f8f8f8
;
display
:
none
;
z-index
:
2
;
}
.qrcode-box
:before
{
...
...
Please
register
or
login
to post a comment