mirror of
https://github.com/Empostor/Empostor.git
synced 2026-10-19 15:51:39 +00:00
fix LastConnect fuction always first time
This commit is contained in:
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": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user