1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-17 12:00:41 +02:00

Prepare for crypting passwords stored in session

This commit is contained in:
Jakub Vrana
2013-08-10 19:06:21 -07:00
parent 37c97a18ca
commit c0fe3a6ff7
3 changed files with 15 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ class Adminer {
* @return array ($server, $username, $password)
*/
function credentials() {
return array(SERVER, $_GET["username"], get_session("pwds"));
return array(SERVER, $_GET["username"], get_password());
}
/** Get key used for permanent login