From 73ffe9579abef1f3ff848ff237a1c15c102fa436 Mon Sep 17 00:00:00 2001 From: RKrom Date: Tue, 11 Sep 2012 15:26:37 +0000 Subject: [PATCH] Added log statement git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2022 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotImgurPlugin/ImgurUtils.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GreenshotImgurPlugin/ImgurUtils.cs b/GreenshotImgurPlugin/ImgurUtils.cs index 6ba2bbc8e..9fe1649c1 100644 --- a/GreenshotImgurPlugin/ImgurUtils.cs +++ b/GreenshotImgurPlugin/ImgurUtils.cs @@ -175,13 +175,14 @@ namespace GreenshotImgurPlugin { oAuth.AccessTokenUrl = "https://api.imgur.com/oauth/access_token"; oAuth.AuthorizeUrl = "https://api.imgur.com/oauth/authorize"; oAuth.RequestTokenUrl = "https://api.imgur.com/oauth/request_token"; - oAuth.ConsumerKey = "907d4455b8c38144d68c4f72190af4c40504a0ac7"; - oAuth.ConsumerSecret = "d33902ef409fea163ab755454c15b3d0"; + oAuth.ConsumerKey = "fill-in"; + oAuth.ConsumerSecret = "fill-in"; oAuth.UserAgent = "Greenshot"; if (string.IsNullOrEmpty(config.ImgurToken)) { LOG.Debug("Creating Imgur Token"); oAuth.getRequestToken(); if (string.IsNullOrEmpty(oAuth.authorizeToken("Imgur authorization"))) { + LOG.Debug("User didn't authenticate!"); return null; } string accessToken = oAuth.getAccessToken();