Merge pull request #7319 from eelhazati/master

BAEL-2887: fix feedback
This commit is contained in:
Loredana Crusoveanu 2019-07-27 14:01:14 +03:00 committed by GitHub
commit e02afbe9f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -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.")

View File

@ -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>

View File

@ -561,7 +561,7 @@
<module>tensorflow-java</module>
<module>spring-boot-flowable</module>
<module>spring-security-kerberos</module>
<module>oauth2-framework-impl</module>
</modules>
</profile>
@ -1244,6 +1244,7 @@
<module>rsocket</module>
<module>rxjava</module>
<module>rxjava-2</module>
<module>oauth2-framework-impl</module>
</modules>