Browse Source

Improving ForgotPwd structure

main
ddangelorb 3 years ago
parent
commit
064a292784
  1. 3
      src/main/java/org/waterproofingdata/wpdauth/controller/ForgotPasswordsController.java

3
src/main/java/org/waterproofingdata/wpdauth/controller/ForgotPasswordsController.java

@ -5,6 +5,7 @@ import java.util.List;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@ -62,7 +63,7 @@ public class ForgotPasswordsController {
forgotPasswordsService.passwordUpdateByEmail(email, newPassword);
}
@PostMapping("/findallforgotpasswordquestions")
@GetMapping("/findallforgotpasswordquestions")
@ApiOperation(value = "${ForgotPasswordsController.findallforgotpasswordquestions}")
@ApiResponses(value = {//
@ApiResponse(code = 400, message = "Something went wrong")})

Loading…
Cancel
Save