Skip to content

Commit ec8345a

Browse files
authored
Merge pull request #287 from UMC-Closit/fix/#286-auth-filter-api-path
fix: ์ธ์ฆ ํ•„ํ„ฐ ์˜ˆ์™ธ ๋Œ€์ƒ API ๊ฒฝ๋กœ ์ˆ˜์ •
2 parents 355935e + 75e38a2 commit ec8345a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

โ€Žsrc/main/java/UMC_7th/Closit/domain/emailtoken/service/EmailTokenServiceImpl.javaโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void createEmailToken(String email) {
3737
emailTokenRepository.save(emailToken);
3838

3939
// ์ด๋ฉ”์ผ ๋ฐœ์†ก
40-
String verificationLink = serverDomain + "/api/auth/email-tokens/verify?token=" + token;
40+
String verificationLink = serverDomain + "/api/v1/email-tokens/verify?token=" + token;
4141
emailService.sendEmail(email, "[Closit] ์ด๋ฉ”์ผ ์ธ์ฆ์„ ์™„๋ฃŒํ•ด์ฃผ์„ธ์š”", verificationLink);
4242
}
4343

โ€Žsrc/main/java/UMC_7th/Closit/security/SecurityConfig.javaโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
4949
"/api/auth/login",
5050
"/api/auth/refresh",
5151
"/api/auth/users/isunique/**",
52-
"/api/auth/email-tokens/**",
5352
"/api/auth/find-id",
5453
"/api/auth/reset-password",
54+
"/api/v1/email-tokens/**",
5555
"/email-verification-success.html",
5656
"/email-verification-failed.html",
5757
"/api/auth/oauth/**").permitAll()

0 commit comments

Comments
ย (0)