mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Revert some changes
This commit is contained in:
parent
5965db4fd7
commit
d0f7ab3316
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user