From f6a17e679f4fac2fda21dc7f64565a0dc4a10ca1 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Sat, 27 Jul 2019 22:44:15 +0700 Subject: CLOUD: Ask user to manually enable Storage For more security, newly connected Storage only gets username/used space information and is disabled until user manually presses the button. --- backends/cloud/googledrive/googledrivestorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/cloud/googledrive/googledrivestorage.h') diff --git a/backends/cloud/googledrive/googledrivestorage.h b/backends/cloud/googledrive/googledrivestorage.h index db47e7cd3c..792c30a99f 100644 --- a/backends/cloud/googledrive/googledrivestorage.h +++ b/backends/cloud/googledrive/googledrivestorage.h @@ -31,7 +31,7 @@ namespace GoogleDrive { class GoogleDriveStorage: public Id::IdStorage { /** This private constructor is called from loadFromConfig(). */ - GoogleDriveStorage(Common::String token, Common::String refreshToken); + GoogleDriveStorage(Common::String token, Common::String refreshToken, bool enabled); /** Constructs StorageInfo based on JSON response from cloud. */ void infoInnerCallback(StorageInfoCallback outerCallback, Networking::JsonResponse json); -- cgit v1.2.3