Skip to content

Commit

Permalink
Fix: osu login detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrekol committed May 1, 2020
1 parent d809207 commit a82e6a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public bool Login(string loginPageAddress, string loginData)
responseText = sr.ReadToEnd();
}
response.Close();
return !(responseText.IndexOf("Log me on automatically each visit", StringComparison.InvariantCultureIgnoreCase) > 0);
return !(responseText.IndexOf("Sign in", StringComparison.InvariantCultureIgnoreCase) > 0);
}

public CookieAwareWebClient(CookieContainer container)
Expand Down

0 comments on commit a82e6a5

Please sign in to comment.