add mark for future improvement

This commit is contained in:
Sebastian Stenzel
2023-07-04 16:58:37 +02:00
parent 0ad8ce77ef
commit 8cb21c97e3

View File

@@ -129,7 +129,7 @@ public class ReceiveKeyController implements FxController {
try {
switch (response.statusCode()) {
case 200 -> receivedDeviceTokenSuccess(encryptedVaultKey, response.body());
case 403, 404 -> needsDeviceSetup();
case 403, 404 -> needsDeviceSetup(); // TODO: using the setup code, we can theoretically immediately unlock
default -> throw new IOException("Unexpected response " + response.statusCode());
}
} catch (IOException e) {