public static void SetActiveUser(DataUserTokens response) { var user = FindOrInsertUser(response.User, response.User.Email); user.Selected = true; user.IsActive = true; Session.ActiveUser = user; Session.ActiveUser.Name += " (You)"; Session.Token = response.Tokens; }
public static void SetActiveUser(DataUserTokens response) { var user = FindOrInsertUser(response.User, response.User.Email); user.Selected = true; user.IsActive = true; Session.ActiveUser = user; if (!Session.ActiveUser.Name.Contains("You")) { Session.ActiveUser.Name += (" (You)"); } Session.Token = response.Tokens; }