Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Critical] 프로필 사진 업데이트시 로그인 실패 #297 #54

Merged
merged 4 commits into from
Aug 29, 2019

Conversation

clghks
Copy link
Contributor

@clghks clghks commented Aug 18, 2019

  • 업데이트 관련 수정

controllers/user.controller.js Outdated Show resolved Hide resolved
controllers/user.controller.js Show resolved Hide resolved
if (user.avatar) {
user.avatar = user.avatar.replace(config.image.uri + '/v1/images/','');
user.thumbnail = user.thumbnail.replace(config.image.uri + '/v1/images/', '');
if (req.body.registeredAt) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분은 위와 같은 이유로 실질적으로 조건을 만족하는 케이스는 없을 것 같아요.

if (req.body.registeredAt) {
user.registeredAt = req.body.registeredAt;
}
if (req.body.keyStore) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분은 위와 같은 이유로 실질적으로 조건을 만족하는 케이스는 없을 것 같아요.

controllers/user.controller.js Show resolved Hide resolved
@clghks clghks merged commit 68bcbe6 into JAVACAFE-STUDY:develop Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants