Skip to content

Commit

Permalink
Fix creation of secret
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Sep 30, 2019
1 parent 5bc8856 commit e12a31c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void device(final String deviceId, final String username,
}

final PasswordCredential pc = new PasswordCredential();
pc.setAuthId(deviceId);
pc.setAuthId(username);
pc.setSecrets(Collections.singletonList(AddCredentials.sha512(password)));

try (Response putCredentials = this.http.newCall(new Request.Builder()
Expand Down

0 comments on commit e12a31c

Please sign in to comment.