use new unified parsing for approval page

pull/516/head
Justin Richer 2013-08-30 15:21:33 -04:00
parent 85533d50cf
commit 59187d47e4
2 changed files with 1 additions and 4 deletions

View File

@ -124,9 +124,6 @@ public class OAuthConfirmationController {
sortedScopes.addAll(Sets.difference(scopes, systemScopes)); sortedScopes.addAll(Sets.difference(scopes, systemScopes));
Map<String, String> proposedParams = scopeService.structuredScopeParameters(clientAuth.getScope());
model.put("proposedParams", proposedParams);
model.put("scopes", sortedScopes); model.put("scopes", sortedScopes);
return "approve"; return "approve";

View File

@ -95,7 +95,7 @@
</label> </label>
<c:if test="${ scope.structured }"> <c:if test="${ scope.structured }">
<input name="scopeparam_${ scope.value }" type="text" value="${proposedParams[scope.value]}" placeholder="${scope.structuredParamDescription}"> <input name="scopeparam_${ scope.value }" type="text" value="${ scope.structuredValue }" placeholder="${scope.structuredParamDescription}">
</c:if> </c:if>
</c:forEach> </c:forEach>