https://bugs.contribs.org/show_bug.cgi?id=11043
--- Comment #16 from John Crisp <[email protected]> ---
This should be resolved as well.
When we get the password wrong it presents the index page which is waiting for
the root user and password which have not been set in the config file.
Existing code:
# standalone login part
if ($scriptpath=="/phpmyadmin/" && $_SERVER['PHP_AUTH_USER']=='admin')
{
# print "authenticated<br>";
$cfg['Servers'][$i]['auth_type'] = 'config';
#$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'khdkashfkjasdfkhdskhdkashasdkj3092349af';
}
# end of standalone login part
It should have some form of "else" for when there is no Authent and reset back
to the login box
else {
# What do we do here??? Exit?
# Something like this?
#if (!$validated) {
# header('WWW-Authenticate: Basic realm="My Realm"');
# header('HTTP/1.0 401 Unauthorized');
# die ("Not authorized");
# }
}
On the outer limits of my knowledge here.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/