mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
List authentications
This commit is contained in:
@@ -447,7 +447,18 @@ ORDER BY ORDINAL_POSITION");
|
||||
<a href="http://www.adminer.org/editor/#download" id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
|
||||
</h1>
|
||||
<?php
|
||||
if ($missing != "auth") {
|
||||
if ($missing == "auth") {
|
||||
$first = true;
|
||||
foreach ((array) $_SESSION["passwords"]["server"][""] as $username => $password) {
|
||||
if (isset($password)) {
|
||||
if ($first) {
|
||||
echo "<p>\n";
|
||||
$first = false;
|
||||
}
|
||||
echo "<a href='" . h(auth_url("server", "", $username)) . "'>" . h($username) . "</a><br>\n";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
<form action="" method="post">
|
||||
<p class="logout">
|
||||
|
Reference in New Issue
Block a user