We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e3bbf commit c873848Copy full SHA for c873848
lib/data/nextcloud/nextcloud_client_extension.dart
@@ -50,6 +50,8 @@ extension NextcloudClientExtension on NextcloudClient {
50
);
51
52
void deAuth() {
53
+ // Logout if the username changes
54
+ if (stows.username.value == username) return;
55
stows.username.removeListener(deAuth);
56
client.authentications?.clear();
57
}
0 commit comments