Commit 5e46c384 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

18: Adapt according to needs of first actual implementation (CR)

Task-Url: #18
parent 0a197e21
Pipeline #18332 passed with stage
in 2 minutes and 15 seconds
......@@ -48,10 +48,11 @@ public class CommonLoginController {
* @return login view
*/
@RequestMapping("/login")
public String loginForm(Map<String, Object> map, @RequestParam(value = "url", required = false) String requestUrl) {
public String loginForm(Map<String, Object> map, @RequestParam(value = "url", required = false) String requestUrl, @RequestParam(value = "error", required = false) String error) {
final FormClient formClient = (FormClient) config.getClients().findClient(securityConfig.getLocal().getAuthorizerName()).orElseThrow();
map.put("callbackUrl", formClient.getCallbackUrl());
map.put("requestUrl", requestUrl);
map.put("error", error);
return loginView;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment