1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 07:45:02 +08:00

Revert some changes

This commit is contained in:
Berkan Diler
2024-03-05 17:18:59 +01:00
Unverified
parent 5965db4fd7
commit d0f7ab3316
+2 -2
View File
@@ -39,8 +39,8 @@ namespace osu.Game.Online.API
internal void AuthenticateWithLogin(string username, string password)
{
ArgumentException.ThrowIfNullOrEmpty(username);
ArgumentException.ThrowIfNullOrEmpty(password);
if (string.IsNullOrEmpty(username)) throw new ArgumentException("Missing username.");
if (string.IsNullOrEmpty(password)) throw new ArgumentException("Missing password.");
var accessTokenRequest = new AccessTokenRequestPassword(username, password)
{