ÎÞ²Ö´¢²ã°æWCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomAuthorizeFilter.cs
@@ -10,11 +10,11 @@ // ä½ çèªå®ä¹ææé»è¾ // ä¾å¦ï¼âæ£æ¥ç¨æ·æ¯å¦å·²ç»å½ï¼âæè ä»ä»¬æ¯å¦æç¹å®çè§è²ææé if (!context.HttpContext.User.Identity.IsAuthenticated) { // ç¨æ·æªç»å½ï¼âéå®åå°ç»å½é¡µé¢æè¿å401ç¶æç context.Result = new ChallengeResult(); } //if (!context.HttpContext.User.Identity.IsAuthenticated) //{ // // ç¨æ·æªç»å½ï¼âéå®åå°ç»å½é¡µé¢æè¿å401ç¶æç // context.Result = new ChallengeResult(); //} } } }