Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcafaacb authored by stefan-niedermann's avatar stefan-niedermann
Browse files

Do not clear all auth tokens when picking a new account

parent 4a60e0a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ public class AccountImporter {
        if (appInstalledOrNot(fragment.getContext(), "com.nextcloud.client")) {

            // Clear all tokens first to prevent some caching issues..
            clearAllAuthTokens(fragment.getContext());
            //clearAllAuthTokens(fragment.getContext());

            Intent intent = AccountManager.newChooseAccountIntent(null, null, new String[]{"nextcloud"},
                    true, null, null, null, null);