Showing
1 changed file
with
0 additions
and
5 deletions
| ... | @@ -130,8 +130,3 @@ app.listen(3000, function() { | ... | @@ -130,8 +130,3 @@ app.listen(3000, function() { |
| 130 | }); | 130 | }); |
| 131 | 131 | ||
| 132 | 132 | ||
| 133 | -//로그인 로그아웃 여부 | ||
| 134 | -const authInfo = (req)=>{ | ||
| 135 | - if(req.user) return `${user.name} | <a href="/logout">로그아웃</a>`; | ||
| 136 | - return `<a href="/login">login</a>`; | ||
| 137 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment