Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit f150711

Browse files
fix: client id being the wrong variable name
1 parent 8afaea3 commit f150711

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

conf/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
* @author Andreas Gohr <andi@splitbrain.org>
66
*/
77

8-
$conf['client-id'] = '';
8+
$conf['client-key'] = '';
99
$conf['client-secret'] = '';
1010
$conf['redirect-uri'] = '';

conf/metadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public function html(&$plugin, $echo = false) {
2626
}
2727

2828
$meta['info'] = array('plugin_oauthatlauncher');
29-
$meta['client-id'] = array('string');
29+
$meta['client-key'] = array('string');
3030
$meta['client-secret'] = array('string');
3131
$meta['redirect-uri'] = array('string');

helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function loadService(&$servicename) {
3636
/** @var \OAuth\Plugin\AbstractAdapter $service */
3737
$service = new $class($this->redirectURI());
3838
if(!$service->isInitialized()) {
39-
msg("Failed to initialize $service authentication service. Check credentials", -1);
39+
msg("Failed to initialize $servicename authentication service. Check credentials", -1);
4040
return null;
4141
}
4242

lang/en/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
$lang['info'] = 'Redirect URI to use when configuring the applications';
1010
$lang['custom-redirectURI'] = 'Use the following custom redirect URI';
11-
$lang['client-id'] = 'The Client ID';
11+
$lang['client-key'] = 'The Client ID';
1212
$lang['client-secret'] = 'The Client Secret';

0 commit comments

Comments
 (0)