bug #1477402, if default server fails you cannot switch in config auth

This commit is contained in:
Marc Delisle
2006-07-06 15:59:32 +00:00
parent d2eec7b7d2
commit 37a5d112d9
2 changed files with 12 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ $Source$
libraries/db_details_db_info.inc.php:
bug #1518147, after displaying information_schema, displaying other
dbs does not show size
* libraries/auth/config.auth.lib.php: bug #1477402, if default server fails
you cannot switch in config auth
2006-07-06 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/select_server.lib.php, css/phpmyadmin.css.php:

View File

@@ -136,8 +136,17 @@ function PMA_auth_fails()
?>
</td>
</tr>
</table>
<?php
if (count($GLOBALS['cfg']['Servers']) > 1) {
// offer a chance to login to other servers if the current one failed
require_once('./libraries/select_server.lib.php');
echo '<tr>' . "\n";
echo ' <td>' . "\n";
PMA_select_server(TRUE, TRUE);
echo ' </td>' . "\n";
echo '</tr>' . "\n";
}
echo '</table>' . "\n";
require_once('./libraries/footer.inc.php');
return TRUE;
} // end of the 'PMA_auth_fails()' function