Skip to content

Commit

Permalink
Merge branch 'ALS-4793' into ALS-4981
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Sep 14, 2023
2 parents 83928a4 + 6a29a94 commit f791134
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ public Response getFENCEProfile(String callback_url, Map<String, String> authReq
logger.debug("getFENCEProfile() starting...");
String fence_code = authRequest.get("code");

// Validate that the fence code is alphanumeric
if (!fence_code.matches("[a-zA-Z0-9]+")) {
logger.error("getFENCEProfile() fence code is not alphanumeric");
throw new NotAuthorizedException("The fence code is not alphanumeric");
}

JsonNode fence_user_profile = null;
// Get the Gen3/FENCE user profile. It is a JsonNode object
try {
Expand Down

0 comments on commit f791134

Please sign in to comment.