강의

멘토링

커뮤니티

Inflearn Community Q&A

hartorange's profile image
hartorange

asked

Node and React series that you can learn by following - Basic lecture

Node React Basics Lecture #12 Token Generation with jsonwebtoken

User.js comparePassword 부분 오타 해결

Written on

·

328

15

영상속 코딩을 그대로 따라했는데 postman 으로 로그인 시도시 무한로딩상태이길래 이리저리 해보다가

if (errreturn cb(err),
cb(null, isMatch)

윗 부분에서 문제더군요.

if (errreturn cb(err);
cb(nullisMatch);

이렇게 바꾸어주고 해결되었습니다.

영상속 코드 내용이 잘못된 것같긴한데

확실히 말은 못하겠네요.

nodejsreact

Answer 4

1

John Ahn님의 프로필 이미지
John Ahn
Instructor

앗   알려주셔서 감사합니다 ^^ ! 

0

이런거 고정댓글로... 못하낭.... 오류생겨서 댓글 한참찾다가 발견했어요! 감사합니다! 

 

0

같은현상 해결했습니다 감사합니다

0

감사합니다

hartorange's profile image
hartorange

asked

Ask a question