Merge branch 'be/email' into 'backend'
feat: 이메일 인증 실패시 반환값 변경 See merge request s11-webmobile1-sub2/S11P12A701!93
This commit is contained in:
commit
0ca31ea84a
@ -31,7 +31,7 @@ public class MailController {
|
||||
@GetMapping("/verify")
|
||||
public ResponseEntity<?> verifyCode(@RequestParam String code, @RequestParam String email) {
|
||||
if (!mailService.verifyCode(code, email)) {
|
||||
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
||||
return new ResponseEntity<>(HttpStatus.NOT_FOUND);
|
||||
}
|
||||
return new ResponseEntity<>(HttpStatus.OK);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user