model.addAttribute("result", 0);
return "admin/result";
}
}
@PostMapping("/admin/pass.action")
<BUG>public String passModify(String old_pass, String new_pass, HttpServletRequest request) {
</BUG>
int result = infoSer.modifyPw(old_pass, new_pass);
if (result == 0) {
infoSer.destroySession(request);

model.addAttribute("result", 0);
return "admin/result";
}
}
@PostMapping("/admin/pass.action")
public String passModify(String old_pass, String new_pass, HttpServletRequest request) throws RuntimeException{
int result = infoSer.modifyPw(old_pass, new_pass);
if (result == 0) {
infoSer.destroySession(request);
