]> git.joonet.de Git - adminer.git/commitdiff
Editor: use passed credentials
authorJakub Vrana <jakub@vrana.cz>
Tue, 3 Aug 2010 12:38:56 +0000 (14:38 +0200)
committerJakub Vrana <jakub@vrana.cz>
Tue, 3 Aug 2010 12:38:56 +0000 (14:38 +0200)
editor/include/adminer.inc.php

index ccaaf60bfd576df2bf1d1a052c1b7806dc10754b..b7541955b3d9f7f562dfc120a7d4b8738b555944 100644 (file)
@@ -10,7 +10,7 @@ class Adminer {
        //! driver, ns
        
        function credentials() {
-               return array(); // default INI settings
+               return array(SERVER, $_GET["username"], get_session("passwords"));
        }
        
        function permanentLogin() {