Correct can't login with discord on register page

This commit is contained in:
Sebastien 2018-09-10 16:47:47 +03:00
parent 06d90f869b
commit ec0c82a8c6

View File

@ -14,6 +14,7 @@ public class RegisterWebView {
@RequestMapping("/register")
public String music(@RequestParam(value="id", required = true, defaultValue = "") String id, Model model){
model.addAttribute("id", id);
model.addAttribute("redirect_url", System.getenv("OAUTH_URL"));
return CheckPage.getPageIfReady("register");
}
}