Ignore:
Timestamp:
10/07/21 20:22:23 (3 years ago)
Author:
NikolaCenevski <cenevskinikola@…>
Branches:
master
Children:
ee0e297
Parents:
276a8b6
Message:

Moderator pagination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/charitable/security/SecurityConfig.java

    r276a8b6 r0c37625  
    6767        RedirectStrategy redirectStrategy = new DefaultRedirectStrategy();
    6868        if(authentication.getAuthorities().toString().contains("MODERATOR")) {
    69             redirectStrategy.sendRedirect(httpServletRequest, httpServletResponse, "/moderator/approval");
     69            redirectStrategy.sendRedirect(httpServletRequest, httpServletResponse, "/moderator/approval?page=1&sort=id");
    7070        } else {
    7171            redirectStrategy.sendRedirect(httpServletRequest, httpServletResponse, "/");
Note: See TracChangeset for help on using the changeset viewer.