genericize approval controller

pull/1536/head
Justin Richer 2020-05-11 14:08:31 -04:00
parent be95f8a781
commit 6c4f25b18b
2 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@
</h1>
<form name="confirmationForm"
action="${ config.issuer }${ config.issuer.endsWith('/') ? '' : '/' }authorize" method="post">
action="${ config.issuer }${ config.issuer.endsWith('/') ? '' : '/' }${ form_target } " method="post">
<div class="row">
<div class="span5 offset1 well-small" style="text-align: left">

View File

@ -221,6 +221,8 @@ public class OAuthConfirmationController {
model.put("gras", false);
}
model.put("form_target", "approve");
return "approve";
}