Skip to content
Snippets Groups Projects
Commit b124ee3c authored by tpgus2603's avatar tpgus2603
Browse files

refactor: 세션로그인 반환형태 수정

parent d2ea80ef
No related branches found
No related tags found
1 merge request!42[#25] 배포코드 master브랜치로 이동
...@@ -9,10 +9,7 @@ router.get('/info', (req, res) => { ...@@ -9,10 +9,7 @@ router.get('/info', (req, res) => {
res.set('Cache-Control', 'no-store'); res.set('Cache-Control', 'no-store');
res.set('Pragma', 'no-cache'); res.set('Pragma', 'no-cache');
return res.status(200).json({ return res.status(200).json({
user: { email,name
email,
name,
},
}); });
} }
// 세션이 만료되었거나 사용자 정보가 없는 경우 // 세션이 만료되었거나 사용자 정보가 없는 경우
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment