Skip to content

Commit

Permalink
fixed authentication after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecasero committed Jan 22, 2018
1 parent 197c7ee commit 31786db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public JsonObject updateAccount (String deploymentUrl, String adminUsername, Str

public Response updateAccountResponse (String deploymentUrl, String adminUsername, String adminAuthToken, String accountSid, String friendlyName, String password, String authToken, String role, String status) {
Client jerseyClient = ClientBuilder.newClient();
jerseyClient.register(HttpAuthenticationFeature.basic(adminUsername, password));
jerseyClient.register(HttpAuthenticationFeature.basic(adminUsername, adminAuthToken));

String url = getAccountsUrl(deploymentUrl, false) + "/" + accountSid;

Expand Down

0 comments on commit 31786db

Please sign in to comment.