diff --git a/DysonNetwork.Pass/Account/AccountService.cs b/DysonNetwork.Pass/Account/AccountService.cs index 9e2a8de..3435f8b 100644 --- a/DysonNetwork.Pass/Account/AccountService.cs +++ b/DysonNetwork.Pass/Account/AccountService.cs @@ -516,6 +516,9 @@ public class AccountService( new UnsubscribePushNotificationsRequest() { DeviceId = device.DeviceId } ); + db.AuthClients.Remove(device); + await db.SaveChangesAsync(); + var sessions = await db.AuthSessions .Include(s => s.Challenge) .Where(s => s.Challenge.ClientId == device.Id)