Skip to content

Commit

Permalink
Removed "cracked" Microsoft account because it doesn't make any sense
Browse files Browse the repository at this point in the history
  • Loading branch information
tycrek committed Jan 13, 2022
1 parent 6711b56 commit 38fd5eb
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,9 @@ public void login() throws RequestException {
throw new RequestException("Invalid response received.");
else this.accessToken = response.access_token;

try {
getProfile();
} catch (RequestException ex) {
ex.printStackTrace(); // this was ignored before
// We are on a cracked account
if (this.username == null || this.username.isEmpty())
this.username = response.username; // Not sure what this username is but its sent back from the API
}
// Finalize login by fetching the profile
getProfile();

this.loggedIn = true;
}

Expand Down

0 comments on commit 38fd5eb

Please sign in to comment.