TODO now obsolete

as we will now re-attempt unlock when returning from device registration

[ci skip]
This commit is contained in:
Sebastian Stenzel
2024-01-16 04:13:56 +01:00
parent 8e52058373
commit 87084e8c2a

View File

@@ -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) {