Skip to content

Commit

Permalink
[Bug] worflow error 해결 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
kssumin authored Oct 7, 2023
2 parents 3c1153d + 31f1e06 commit 9d00f3f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 105 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/ci.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/lint.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.kakao.golajuma.auth.domain.service;

import com.kakao.golajuma.auth.domain.exception.NotFoundException;
import com.kakao.golajuma.auth.domain.helper.Encoder;
import com.kakao.golajuma.auth.domain.token.TokenProvider;
import com.kakao.golajuma.auth.domain.token.TokenResolver;
import com.kakao.golajuma.auth.infra.entity.UserEntity;
Expand All @@ -9,7 +10,6 @@
import com.kakao.golajuma.auth.web.dto.request.LoginUserRequest;
import com.kakao.golajuma.auth.web.dto.response.TokenResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

Expand All @@ -20,10 +20,10 @@ public class LoginUserService {

private final TokenProvider tokenProvider;
private final UserRepository userRepository;
private final PasswordEncoder passwordEncoder;
private final TokenConverter tokenConverter;
private final TokenResolver tokenResolver;
private final TokenService tokenService;
private final Encoder encoder;

@Transactional
public TokenResponse execute(final LoginUserRequest request) {
Expand All @@ -50,6 +50,6 @@ private void validPassword(final String requestPassword, final UserEntity userEn
}

private boolean matchPassword(final String requestPassword, final String password) {
return passwordEncoder.matches(requestPassword, password);
return encoder.matches(requestPassword, password);
}
}
43 changes: 0 additions & 43 deletions src/main/java/com/kakao/golajuma/config/SecurityConfig.java

This file was deleted.

0 comments on commit 9d00f3f

Please sign in to comment.