added support for multiple accounts, guardian login bugfixes, ui changes

This commit is contained in:
MineTec committed 2026-09-23 20:50:12 +02:00
1 parent 630497abdd
commit 84098af7e2
37 files changed
+1759 -376

No files matched your search

@@ -16,10 +16,15 @@ class DeleteAppPassword {
Future<void> run({String? authorizationHeader}) async {
await _client.delete(
NextcloudOcs.uri('core/apppassword'),
headers: {
...NextcloudOcs.headers(),
'Authorization': ?authorizationHeader,
},
// An explicit header may belong to an inactive account, so the active
// session's headers must not be required then.
headers: authorizationHeader == null
? NextcloudOcs.headers()
: {
'Accept': 'application/json',
'OCS-APIRequest': 'true',
'Authorization': authorizationHeader,
},
);
}
}