Google enterprise unenrollment fix

4.x.x
inoshperera 5 years ago
parent 2e84e4d01f
commit e3aca342ad

@ -121,10 +121,10 @@ if (!user || accessToken == null) {
response.sendRedirect("/devicemgt/platform-configuration?enterprise-success=true"); response.sendRedirect("/devicemgt/platform-configuration?enterprise-success=true");
} }
} }
} else if (uriMatcher.match("/{context}/api/enterprise/asdsad/unenroll")) { } else if (uriMatcher.match("/{context}/api/enterprise/unenroll")) {
session.put("externalEndpoint", restAPIRequestDetails["endpoint"]); session.put("externalEndpoint", restAPIRequestDetails["endpoint"]);
session.put("externalToken", restAPIRequestDetails["externalToken"]); session.put("externalToken", restAPIRequestDetails["externalToken"]);
callBackend(restAPIRequestDetails["endpoint"], session.get("externalToken"), "POST", restAPIRequestDetails); callBackend(restAPIRequestDetails["endpoint"], session.get("externalToken"), "GET", restAPIRequestDetails);
} }
} }

Loading…
Cancel
Save