diff --git a/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java b/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java index eec91b194..86f034a0c 100644 --- a/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java +++ b/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java @@ -178,7 +178,7 @@ public class ReceiveKeyController implements FxController { var device = JSON.reader().readValue(response.body(), DeviceDto.class); requestVaultMasterkey(device.userPrivateKey); } - case 404 -> needsDeviceRegistration(); // TODO: using the setup code, we can theoretically immediately unlock + case 404 -> needsDeviceRegistration(); default -> throw new IllegalStateException("Unexpected response " + response.statusCode()); } } catch (IOException e) {