Load session values during construction, remove LoadFirstInstance

This commit is contained in:
John Lewin 2016-10-06 18:07:39 -07:00
parent 175983640a
commit 38042d1d86
3 changed files with 8 additions and 12 deletions

View file

@ -97,9 +97,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
if (string.IsNullOrEmpty(username))
{
username = GuestDBPath;
// If ActiveUserName is empty or invalid and the credentials file exists, delete local credentials, resetting to unauthenticated guest mode
AuthenticationData.Instance.ClearActiveSession();
}
else
{