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

[Bug] worflow 삭제 #36

Merged
merged 4 commits into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.