fix #713 modify an order of vaeifyToken
This commit is contained in:
parent
a17c41c550
commit
f7491645ea
5 changed files with 5 additions and 5 deletions
|
@ -305,8 +305,8 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
@Execute
|
||||
public HtmlResponse delete(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
validate(form, messages -> {}, () -> asDetailsHtml());
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
kuromojiService
|
||||
.getKuromojiItem(form.dictId, form.id)
|
||||
.ifPresent(
|
||||
|
|
|
@ -309,8 +309,8 @@ public class AdminDictMappingAction extends FessAdminAction {
|
|||
@Execute
|
||||
public HtmlResponse delete(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
validate(form, messages -> {}, () -> asDetailsHtml());
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
charMappingService
|
||||
.getCharMappingItem(form.dictId, form.id)
|
||||
.ifPresent(
|
||||
|
|
|
@ -290,8 +290,8 @@ public class AdminDictProtwordsAction extends FessAdminAction {
|
|||
@Execute
|
||||
public HtmlResponse delete(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
validate(form, messages -> {}, () -> asDetailsHtml());
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
protwordsService
|
||||
.getProtwordsItem(form.dictId, form.id)
|
||||
.ifPresent(entity -> {
|
||||
|
|
|
@ -293,8 +293,8 @@ public class AdminDictSeunjeonAction extends FessAdminAction {
|
|||
@Execute
|
||||
public HtmlResponse delete(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
validate(form, messages -> {}, () -> asDetailsHtml());
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
seunjeonService
|
||||
.getSeunjeonItem(form.dictId, form.id)
|
||||
.ifPresent(entity -> {
|
||||
|
|
|
@ -309,8 +309,8 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
@Execute
|
||||
public HtmlResponse delete(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
validate(form, messages -> {}, () -> asDetailsHtml());
|
||||
verifyToken(() -> asDetailsHtml());
|
||||
synonymService
|
||||
.getSynonymItem(form.dictId, form.id)
|
||||
.ifPresent(
|
||||
|
|
Loading…
Add table
Reference in a new issue