This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 431d960c authored by Michael Breu's avatar Michael Breu
Browse files

prettier

parent dba7e7d2
2 merge requests!132Bringing July Release to production,!128Fixing #315 and #319
......@@ -48,7 +48,9 @@ public class GitSearchOAuth2AuthorizationRequestRepository implements Authorizat
String state = authorizationRequest.getState();
Assert.hasText(state, "authorizationRequest.state cannot be empty");
String referer = request.getHeader(REFERER_ATTRIBUTE);
if (referer == null) referer = "/";
if (referer == null) {
referer = "/";
}
final Map<String, Object> requestAttributes = new ConcurrentHashMap<>(authorizationRequest.getAttributes());
requestAttributes.put(REFERER_ATTRIBUTE, referer);
OAuth2AuthorizationRequest extendedAuthorizationRequest = OAuth2AuthorizationRequest
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment