mirror of https://github.com/halo-dev/halo
Enable ip lock while updating password
parent
f1b3fa2d7c
commit
9dd02ee8c4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue