fix: set url to null, add TODO
This commit is contained in:
parent
c9a73ced8f
commit
6a249056b0
@ -49,10 +49,12 @@ class LogoutCloud {
|
|||||||
.withAccessToken(null) //
|
.withAccessToken(null) //
|
||||||
.build();
|
.build();
|
||||||
} else if (cloud instanceof PCloudCloud) {
|
} else if (cloud instanceof PCloudCloud) {
|
||||||
|
//TODO proper logout?
|
||||||
return PCloudCloud //
|
return PCloudCloud //
|
||||||
.aCopyOf((PCloudCloud) cloud) //
|
.aCopyOf((PCloudCloud) cloud) //
|
||||||
.withUsername(null) //
|
.withUsername(null) //
|
||||||
.withAccessToken(null) //
|
.withAccessToken(null) //
|
||||||
|
.withUrl(null) //
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
throw new IllegalStateException("Logout not supported for cloud with type " + cloud.type());
|
throw new IllegalStateException("Logout not supported for cloud with type " + cloud.type());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user