private static void PreparePrincipal(AuthorizationContext filterContext, string validationToken) { var user = UserCore.GetEFByAspNetUserId(validationToken); if (user == null || user.Status != 0) { return; } SetIdentity(user, filterContext); }
private static void PreparePrincipal(AuthorizationContext filterContext, string validationToken) { var user = UserCore.GetEFByAspNetUserId(validationToken); if (user == null || user.Status != 0) { return; } SetIdentity(user, filterContext); }