summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-01-25 08:58:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-26 07:06:14 -0800
commitafe1c3ca381c6c2b0b92dfbea300b139aaaa8245 (patch)
tree59f252b419acb069d673d92d012958bc0e20e8ea /desktop-widgets
parent41697f00e5e86d2ee99adbd67aa758c21624be23 (diff)
downloadsubsurface-afe1c3ca381c6c2b0b92dfbea300b139aaaa8245.tar.gz
FB redirect use https instead of http
When connecting to facebook, I get a warning that the connection is not secure. It's a wild guess that this patch solves the issue but I currenty cannot build with facebook support. So I cannot check. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
index 8669bb6cb..7a497e218 100644
--- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
+++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
@@ -59,7 +59,7 @@ QUrl FacebookManager::albumListUrl()
QUrl FacebookManager::connectUrl() {
return QUrl("https://www.facebook.com/dialog/oauth?"
"client_id=427722490709000"
- "&redirect_uri=http://www.facebook.com/connect/login_success.html"
+ "&redirect_uri=https://www.facebook.com/connect/login_success.html"
"&response_type=token,granted_scopes"
"&display=popup"
"&scope=publish_actions,user_photos"