mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 15:34:36 +01:00
19 lines
422 B
C#
19 lines
422 B
C#
using nksrv.Database;
|
|
using nksrv.Utils;
|
|
|
|
namespace nksrv.LobbyServer.Msgs.Auth
|
|
{
|
|
[PacketPath("/auth/logout")]
|
|
public class AuthLogout : LobbyMsgHandler
|
|
{
|
|
protected override async Task HandleAsync()
|
|
{
|
|
var req = await ReadData<ReqLogout>();
|
|
|
|
JsonDb.Instance.GameClientTokens.Remove(UsedAuthToken);
|
|
|
|
await WriteDataAsync(new ResLogout());
|
|
}
|
|
}
|
|
}
|