Skip to content

Commit

Permalink
hotfix: 로그인 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Sep 20, 2024
1 parent b098a24 commit e030f9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class StudentLoginService implements StudentLoginUseCase {
@Override
@Transactional
public TokenResponse studentLogin(LoginRequest request) {
return studentRepository.existsByAccountId(request.accountId())
return studentRepository.existsByAccountId(request.accountId().trim())
? loginExistingStudent(request)
: registerAndLoginNewStudent(request);
}
Expand Down

0 comments on commit e030f9c

Please sign in to comment.