genericize approval controller
parent
be95f8a781
commit
6c4f25b18b
|
@ -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">
|
||||
|
|
|
@ -221,6 +221,8 @@ public class OAuthConfirmationController {
|
|||
model.put("gras", false);
|
||||
}
|
||||
|
||||
model.put("form_target", "approve");
|
||||
|
||||
return "approve";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue