Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2019-07-24 14:56:21 +0300
committerCamila San <hello@camila.codes>2019-10-17 21:11:31 +0300
commit19491ff85f3cd02952478d2ee1fb42caf252e9dd (patch)
treefd9bc6d7ca455e05a8cd8c5fafae4fc0eca2f792 /src/gui/accountmanager.h
parent08c7be5350c949b15776ab52a2b7bf637f3e02a4 (diff)
Once client gets 401/403 from the server, check if remote wipe was requested.
- When the the users logs because of 401 or 403 errors, it checks if the server requested the remote wipe. If yes, locally deletes account and folders connected to the account and notify the server. If no, proceeds to ask the user to login again. - The app password is restored in the keychain. - WIP: The change also includes a test class for RemoteWipe. Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/accountmanager.h')
-rw-r--r--src/gui/accountmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accountmanager.h b/src/gui/accountmanager.h
index 35df3584a..fabc6ca5b 100644
--- a/src/gui/accountmanager.h
+++ b/src/gui/accountmanager.h
@@ -70,7 +70,6 @@ public:
*/
void deleteAccount(AccountState *account);
-
/**
* Creates an account and sets up some basic handlers.
* Does *not* add the account to the account manager just yet.
@@ -104,6 +103,7 @@ public slots:
Q_SIGNALS:
void accountAdded(AccountState *account);
void accountRemoved(AccountState *account);
+ void removeAccountFolders(AccountState *account);
private:
AccountManager() {}