mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-22 04:31:27 +00:00
add mark for future improvement
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user