Enable ip lock while updating password

pull/389/head
johnniang 2019-11-16 20:10:02 +08:00
parent f1b3fa2d7c
commit 9dd02ee8c4
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class ContentArchiveController {
}
@PostMapping(value = "{url}/password")
@CacheLock
@CacheLock(traceRequest = true, expired = 2)
public String password(@PathVariable("url") String url,
@RequestParam(value = "password") String password) {
Post post = postService.getBy(PostStatus.INTIMATE, url);