diff --git a/back/package-lock.json b/back/package-lock.json index 4a5ff3767..e27bb9227 100644 --- a/back/package-lock.json +++ b/back/package-lock.json @@ -1,6 +1,6 @@ { "name": "urtweet-back", - "version": "1.2.0", + "version": "1.3.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/back/package.json b/back/package.json index 419abc121..5b61371a8 100644 --- a/back/package.json +++ b/back/package.json @@ -1,6 +1,6 @@ { "name": "urtweet-back", - "version": "1.2.0", + "version": "1.3.1", "description": "", "main": "index.js", "scripts": { diff --git a/back/routes/user.js b/back/routes/user.js index fa0e83142..52f0e00b9 100644 --- a/back/routes/user.js +++ b/back/routes/user.js @@ -167,7 +167,7 @@ router.post('/', async (req, res, next) => { }); // POST /user/login (로그인) -router.post('/login', isNotLoggedIn, (req, res, next) => { +router.post('/login', (req, res, next) => { passport.authenticate('local', (err, user, info) => { if (err) { return next(err);