make to redirect in any search action
This commit is contained in:
parent
626620c08d
commit
f8aa1e1d0c
1 changed files with 1 additions and 1 deletions
|
@ -96,10 +96,10 @@ public class SearchAction extends FessSearchAction {
|
|||
}
|
||||
|
||||
protected HtmlResponse doSearch(final SearchForm form) {
|
||||
validate(form, messages -> {}, () -> asHtml(path_SearchJsp));
|
||||
if (isLoginRequired()) {
|
||||
return redirectToLogin();
|
||||
}
|
||||
validate(form, messages -> {}, () -> asHtml(path_SearchJsp));
|
||||
|
||||
if (viewHelper.isUseSession()) {
|
||||
final HttpSession session = request.getSession(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue