Replace the 'approbation' term with 'approval'.
This commit is contained in:
parent
ecfb5a2b94
commit
aba05a929c
@ -121,8 +121,8 @@ public class AuthorizationEndpoint {
|
||||
String redirectUri = originalParams.getFirst("resolved_redirect_uri");
|
||||
StringBuilder sb = new StringBuilder(redirectUri);
|
||||
|
||||
String approbationStatus = params.getFirst("approbation_status");
|
||||
if ("NO".equals(approbationStatus)) {
|
||||
String approvalStatus = params.getFirst("approval_status");
|
||||
if ("NO".equals(approvalStatus)) {
|
||||
URI location = UriBuilder.fromUri(sb.toString())
|
||||
.queryParam("error", "User doesn't approved the request.")
|
||||
.queryParam("error_description", "User doesn't approved the request.")
|
||||
|
@ -41,8 +41,8 @@
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" name="approbation_status" value="YES"/>
|
||||
<input type="submit" name="approbation_status" value="NO"/>
|
||||
<input type="submit" name="approval_status" value="YES"/>
|
||||
<input type="submit" name="approval_status" value="NO"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user