Add logout button and check for inputs before allowing login.

This commit is contained in:
Dean Herbert
2016-11-30 19:43:03 +09:00
parent 01dc7cb5c2
commit ed879f33df
2 changed files with 27 additions and 12 deletions

View File

@ -281,6 +281,7 @@ namespace osu.Game.Online.API
public void Logout()
{
ClearCredentials();
authentication.Clear();
State = APIState.Offline;
}