test #1

Merged
klaus merged 94 commits from test into main 2023-08-16 02:30:37 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 980faae943 - Show all commits

View File

@ -390,7 +390,7 @@ class MemberService(
}
@Transactional
fun signOut(signOutRequest: SignOutRequest, token: String, user: User) {
fun signOut(signOutRequest: SignOutRequest, user: User) {
val member = repository.findByEmail(user.username) ?: throw SodaException("로그인 정보를 확인해주세요.")
if (!passwordEncoder.matches(signOutRequest.password, member.password)) {
throw SodaException("비밀번호가 일치하지 않습니다.")