1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:02:55 +08:00

Revert some changes

This commit is contained in:
Berkan Diler 2024-03-05 17:18:59 +01:00
parent 5965db4fd7
commit d0f7ab3316

View File

@ -39,8 +39,8 @@ namespace osu.Game.Online.API
internal void AuthenticateWithLogin(string username, string password) internal void AuthenticateWithLogin(string username, string password)
{ {
ArgumentException.ThrowIfNullOrEmpty(username); if (string.IsNullOrEmpty(username)) throw new ArgumentException("Missing username.");
ArgumentException.ThrowIfNullOrEmpty(password); if (string.IsNullOrEmpty(password)) throw new ArgumentException("Missing password.");
var accessTokenRequest = new AccessTokenRequestPassword(username, password) var accessTokenRequest = new AccessTokenRequestPassword(username, password)
{ {