1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

[SG-823] Undid changes to capture device push token on login (#2427)

* Revert "Set Id property on existing devices so we don't try to create a new one instead of updating existing. (#2420)"

This reverts commit 02e4b10ae8.

* Revert "Update push token on login to allow multiple users on mobile devices (#2404)"

This reverts commit 24469e2267.

* Added back test changes.
This commit is contained in:
Todd Martin
2022-12-12 15:51:41 -05:00
committed by GitHub
parent e042360c00
commit e340cba8fc
4 changed files with 12 additions and 13 deletions

View File

@ -7,5 +7,4 @@ public interface IDeviceService
Task SaveAsync(Device device);
Task ClearTokenAsync(Device device);
Task DeleteAsync(Device device);
}

View File

@ -41,7 +41,6 @@ public class DeviceService : IDeviceService
public async Task DeleteAsync(Device device)
{
await _deviceRepository.DeleteAsync(device);
await _pushRegistrationService.DeleteRegistrationAsync(device.Id.ToString());
}
}