Skip to content

Commit aae94c1

Browse files
authored
Merge pull request #287 from prgrms-web-devcourse-final-project/chore/33-infra
chore[infra]: work
2 parents 8fe9e55 + 9d94e52 commit aae94c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/src/main/java/com/ai/lawyer/global/initData/InitData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ public void run(String... args) throws Exception {
4242
Optional<Member> opt = memberRepository.findByLoginId(loginId);
4343
if (opt.isEmpty()) {
4444
log.info("InitData: target account not found [{}]. 아무 작업도 수행하지 않습니다.", loginId);
45+
continue;
4546
}
4647

4748
Member member = opt.get();
4849
String stored = member.getPassword();
4950

5051
if (isBcryptHash(stored)) {
5152
log.info("InitData: {} 계정의 비밀번호는 이미 bcrypt 해시입니다. 변경 없음.", loginId);
53+
continue;
5254
}
5355

5456
// 여기서 stored는 평문으로 추정됨 -> 절대 로그에 찍지 않음

0 commit comments

Comments
 (0)