]> git.pld-linux.org Git - packages/dokuwiki.git/blob - git-fixes.patch
fix misleading auth config migration message
[packages/dokuwiki.git] / git-fixes.patch
1 diff --git a/inc/auth.php b/inc/auth.php
2 index 9f180fc..af9f35b 100644
3 --- a/inc/auth.php
4 +++ b/inc/auth.php
5 @@ -54,8 +54,8 @@ function auth_setup() {
6        } elseif ('auth' . $conf['authtype'] === $plugin) {
7          // matches old auth backends (pre-Weatherwax)
8          $auth = $plugin_controller->load('auth', $plugin);
9 -        msg('Your authtype setting is deprecated. You must set $conf[\'authconfig\'] = ' . "auth" . $conf['authtype']
10 -             . ' in your config (see <a href="https://www.dokuwiki.org/auth">Authentication Backends</a>)',-1,'','',MSG_ADMINS_ONLY);
11 +        msg('Your authtype setting is deprecated. You must set $conf[\'authtype\'] = "auth' . $conf['authtype'] . '"'
12 +             . ' in your configuration (see <a href="https://www.dokuwiki.org/auth">Authentication Backends</a>)',-1,'','',MSG_ADMINS_ONLY);
13        }
14      }
15  
16 diff --git a/lib/plugins/authldap/conf/default.php b/lib/plugins/authldap/conf/default.php
17 index d07f9c8..d530d59 100644
18 --- a/lib/plugins/authldap/conf/default.php
19 +++ b/lib/plugins/authldap/conf/default.php
20 @@ -16,4 +16,4 @@ $conf['bindpw']      = '';
21  $conf['userscope']  = 'sub';
22  $conf['groupscope'] = 'sub';
23  $conf['groupkey']   = 'cn';
24 -$conf['debug']      = array('onoff');
25 \ No newline at end of file
26 +$conf['debug']      = 0;
27 \ No newline at end of file
28 diff --git a/lib/plugins/authmysql/conf/default.php b/lib/plugins/authmysql/conf/default.php
29 index 647f3d9..427bea2 100644
30 --- a/lib/plugins/authmysql/conf/default.php
31 +++ b/lib/plugins/authmysql/conf/default.php
32 @@ -7,7 +7,7 @@ $conf['password']         = '';
33  $conf['database']         = '';
34  $conf['debug']            = 0;
35  $conf['forwardClearPass'] = 0;
36 -$conf['TablesToLock']     = '';
37 +$conf['TablesToLock']     = array();
38  $conf['checkPass']        = '';
39  $conf['getUserInfo']      = '';
40  $conf['getGroups']        = '';
This page took 0.056813 seconds and 3 git commands to generate.