mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Store several permanent logins
This commit is contained in:
@@ -295,7 +295,7 @@ function auth_url($driver, $server, $username) {
|
||||
global $drivers;
|
||||
preg_match('~([^?]*)\\??(.*)~', remove_from_uri(implode("|", array_keys($drivers)) . "|username|" . session_name()), $match);
|
||||
return "$match[1]?"
|
||||
. (SID ? SID . "&" : "")
|
||||
. (SID && !$_COOKIE ? SID . "&" : "")
|
||||
. ($driver != "server" || $server != "" ? urlencode($driver) . "=" . urlencode($server) . "&" : "")
|
||||
. "username=" . urlencode($username)
|
||||
. ($match[2] ? "&$match[2]" : "")
|
||||
|
Reference in New Issue
Block a user