bug #1615313, doc refers to auth_type HTTP so enable it
This commit is contained in:
@@ -3046,6 +3046,8 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
// (for a quick check of path disclosure in auth/cookies:)
|
||||
$coming_from_common = true;
|
||||
|
||||
// to allow HTTP or http
|
||||
$cfg['Server']['auth_type'] = strtolower($cfg['Server']['auth_type']);
|
||||
if (!file_exists('./libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php')) {
|
||||
header('Location: error.php'
|
||||
. '?lang=' . urlencode($available_languages[$lang][2])
|
||||
|
@@ -69,7 +69,7 @@ $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user
|
||||
// The controluser is also
|
||||
// used for all relational
|
||||
// features (pmadb)
|
||||
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http, signon or cookie based)?
|
||||
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
|
||||
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
|
||||
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
|
||||
// with 'config' auth_type)
|
||||
|
Reference in New Issue
Block a user