Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions server/routes/client/mypage.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ router.post('/changePw/checkId/', async function (req, res, next) {

// ===== 마이페이지 비밀번호 변경 - 비밀번호 변경 =====
router.post('/changePw/', async function (req, res, next) {
const token = await jwt.sign({id : req.body.jwtToken, name : "홍길동"});
// const token = req.body.jwtToken;
const token = req.body.jwtToken;
const user_pw = req.body.user_pw;

const token_res = await jwt.verify(token);
Expand Down