public static void Logout(this UserMetadata user) { if (user.IsActive()) { AwfulWebRequest.ClearCredentials(); } }
public static void MakeActive(this UserMetadata user) { if (!user.IsActive()) { AwfulWebRequest.SetCredentials(user); } }