Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Signout now actually requests signout -.-
Browse files Browse the repository at this point in the history
  • Loading branch information
chris54721 committed Oct 18, 2014
1 parent 2e2cece commit 7aa3407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/openmcauthenticator/OpenMCAuthenticator.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public static boolean invalidate(String accessToken, String clientToken) throws
* @return true if the signout request was successful, false otherwise.
*/
public static boolean signout(String username, String password, String clientToken) throws RequestException, AuthenticationUnavailableException {
RequestResponse result = sendJsonPostRequest(getRequestUrl("invalidate"), JsonUtils.credentialsToJson(username, password, clientToken));
RequestResponse result = sendJsonPostRequest(getRequestUrl("signout"), JsonUtils.credentialsToJson(username, password, clientToken));
if(result.isSuccessful()) {
return true;
} else {
Expand Down

0 comments on commit 7aa3407

Please sign in to comment.