Skip to content

Commit

Permalink
Merge pull request #118 from OurMenu/fix/user
Browse files Browse the repository at this point in the history
fix: exclude temp password api to auth
  • Loading branch information
isoo127 authored Aug 19, 2024
2 parents 39eb477 + b5b8b9b commit 03d1e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public ApiResponse<Object> changePassword(@UserId Long userId, @Valid @RequestBo
return ApiUtils.success(null);
}

@PostMapping("/password")
@PostMapping("/temporaryPassword")
public ApiResponse<TempPasswordResponse> getTemporaryPassword(@Valid @RequestBody TempPasswordRequest request, BindingResult bindingResult) {
if(bindingResult.hasErrors()) {
throw new ValidationException(getErrorMessages(bindingResult));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public void addInterceptors(InterceptorRegistry registry) {
"/account/signup",
"/account/login",
"/account/reissueToken",
"/user/temporaryPassword",
"/swagger-ui/**",
"/swagger-resources/**",
"/v3/api-docs/**",
Expand Down

0 comments on commit 03d1e8a

Please sign in to comment.