Redirect to homepage after login not working
- Should redirect to
/job-offer
after login.
Probably good to do something like this:
@GetMapping("/")
public void getHomePage() {
return isAuthenticated() ? "/editition/enrolled" : "/index";
}
/job-offer
after login.Probably good to do something like this:
@GetMapping("/")
public void getHomePage() {
return isAuthenticated() ? "/editition/enrolled" : "/index";
}