diff options
author | Alexander Tkachev | 2019-07-14 04:42:40 +0700 |
---|---|---|
committer | Matan Bareket | 2019-07-30 14:51:41 -0400 |
commit | ddcfcc18b2b4fc17e2217014ad069dc95fbf4fa1 (patch) | |
tree | 87a6313ba9dc199d239a9dc8e6ea44669533fb19 /backends/cloud/onedrive | |
parent | 1bebaf96f7ba1b11417fb16b69b7baebb711ae42 (diff) | |
download | scummvm-rg350-ddcfcc18b2b4fc17e2217014ad069dc95fbf4fa1.tar.gz scummvm-rg350-ddcfcc18b2b4fc17e2217014ad069dc95fbf4fa1.tar.bz2 scummvm-rg350-ddcfcc18b2b4fc17e2217014ad069dc95fbf4fa1.zip |
CLOUD: Update DropboxStorage to work via scummvm.org & StorageWizardDialog correspondingly
Diffstat (limited to 'backends/cloud/onedrive')
-rw-r--r-- | backends/cloud/onedrive/onedrivestorage.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.cpp b/backends/cloud/onedrive/onedrivestorage.cpp index 9f7cad2e01..396370e23f 100644 --- a/backends/cloud/onedrive/onedrivestorage.cpp +++ b/backends/cloud/onedrive/onedrivestorage.cpp @@ -105,11 +105,7 @@ void OneDriveStorage::getAccessToken(BoolCallback callback, Networking::ErrorCal } request->addPostField("client_id=" + Common::String(KEY)); request->addPostField("client_secret=" + Common::String(SECRET)); - if (Cloud::CloudManager::couldUseLocalServer()) { - request->addPostField("&redirect_uri=http%3A%2F%2Flocalhost%3A12345%2F"); - } else { - request->addPostField("&redirect_uri=https%3A%2F%2Fwww.scummvm.org/c/code"); - } + request->addPostField("&redirect_uri=https%3A%2F%2Fwww.scummvm.org/c/code"); addRequest(request); } |