mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +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)
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user