Now requiring homepage login
parent
7dd81ac2de
commit
c8e3f70115
|
@ -27,6 +27,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
@RequestMapping("/")
|
@RequestMapping("/")
|
||||||
public class ManagerController {
|
public class ManagerController {
|
||||||
|
|
||||||
|
@PreAuthorize("hasRole('ROLE_USER')")
|
||||||
@RequestMapping({"", "/home", "/index"})
|
@RequestMapping({"", "/home", "/index"})
|
||||||
public String showHomePage() {
|
public String showHomePage() {
|
||||||
return "home";
|
return "home";
|
||||||
|
|
Loading…
Reference in New Issue