Skip to content

Conversation

@Uechann
Copy link

@Uechann Uechann commented Nov 8, 2024

No description provided.

Copy link
Member

@Chuseok22 Chuseok22 left a comment

Choose a reason for hiding this comment

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

GOOD!!

Comment on lines +37 to +44
User user = userRepository.findByUsername(userDto.getUsername())
.orElseThrow(() -> new NoSuchElementException("해당 유저가 없습니다."));

if(user.getPassword().equals(userDto.getPassword())){
return user.getNickname() + "님 환영합니다.!!";
}else{
return "비밀번호가 일치하지 않습니다.";
}
Copy link
Member

Choose a reason for hiding this comment

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

여기 로직 넘 맘에 들어여 ㅎㅎ

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.

3 participants