From 2395099d0fb57f555c01b8ca1827f8b29c2c0d35 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 15 Jun 2016 17:20:00 +0200 Subject: [PATCH] Debug Oauth --- htdocs/admin/oauth.php | 7 ++++++- htdocs/langs/en_US/oauth.lang | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/oauth.php b/htdocs/admin/oauth.php index 2100230fdb4..02a5ffc50e8 100644 --- a/htdocs/admin/oauth.php +++ b/htdocs/admin/oauth.php @@ -138,6 +138,7 @@ $list = array ( 'OAUTH_GOOGLE_NAME', 'OAUTH_GOOGLE_ID', 'OAUTH_GOOGLE_SECRET', + 'OAUTH_GOOGLE_DESC', ), array( 'OAUTH_HUBIC_NAME', @@ -323,7 +324,11 @@ foreach ($list as $key) print ''; // Api Name $label = $langs->trans($key[0]); - print ''.$label.''; + print ''.$label.''; + print ''; + if (! empty($key[3])) print $langs->trans($key[3]); + print ''; + print ''; if ($supported) { diff --git a/htdocs/langs/en_US/oauth.lang b/htdocs/langs/en_US/oauth.lang index 260c0e1f902..f8dfee9788f 100644 --- a/htdocs/langs/en_US/oauth.lang +++ b/htdocs/langs/en_US/oauth.lang @@ -12,3 +12,4 @@ ListOfSupportedOauthProviders=Enter here credential provided by your OAuth2 prov OAUTH_GOOGLE_NAME=Api Google OAUTH_GOOGLE_ID=Api Google Id OAUTH_GOOGLE_SECRET=Api Google Secret +OAUTH_GOOGLE_DESC=Go on this page then Credentials to create Oauth credentials