Changeset 0c37625 for src/main/java/it/finki/charitable/security
- Timestamp:
- 10/07/21 20:22:23 (3 years ago)
- Branches:
- master
- Children:
- ee0e297
- Parents:
- 276a8b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/charitable/security/SecurityConfig.java
r276a8b6 r0c37625 67 67 RedirectStrategy redirectStrategy = new DefaultRedirectStrategy(); 68 68 if(authentication.getAuthorities().toString().contains("MODERATOR")) { 69 redirectStrategy.sendRedirect(httpServletRequest, httpServletResponse, "/moderator/approval ");69 redirectStrategy.sendRedirect(httpServletRequest, httpServletResponse, "/moderator/approval?page=1&sort=id"); 70 70 } else { 71 71 redirectStrategy.sendRedirect(httpServletRequest, httpServletResponse, "/");
Note:
See TracChangeset
for help on using the changeset viewer.