fix LastConnect fuction always first time

This commit is contained in:
linmeideli committed 2026-05-28 20:49:59 +08:00
1 parent 6527e2e292
commit dba647ea13
3 files changed
+3 -2

No files matched your search

@@ -151,6 +151,6 @@
} }
} }
}, },
".NETStandard,Version=v2.0/win-x64": {} ".NETStandard,Version=v2.0/linux-x64": {}
} }
} }
+1 -1
View File
@@ -146,6 +146,6 @@
"type": "Project" "type": "Project"
} }
}, },
"net8.0/win-x64": {} "net8.0/linux-x64": {}
} }
} }
@@ -171,6 +171,7 @@ namespace Empostor.Server.Net.Manager
if (ipAuth != null) if (ipAuth != null)
{ {
friendCode = ipAuth.FriendCode; friendCode = ipAuth.FriendCode;
authInfo = ipAuth;
_logger.LogInformation( _logger.LogInformation(
"[Auth] {Name}: matched via IP={Ip} → FriendCode={FC}", "[Auth] {Name}: matched via IP={Ip} → FriendCode={FC}",
name, NormalizeIp(clientIp), friendCode); name, NormalizeIp(clientIp), friendCode);