Adminer: Fix and simplify previous auto-login feature (controlled by Default Setting).

This commit is contained in:
reliberate
2016-06-09 14:13:10 -06:00
parent 227e7900ab
commit bf03b763ea
4 changed files with 76 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ function adminer_object() {
// custom name in title and heading
return 'Adminer';
}
/*
function permanentLogin() {
// key used for permanent login
if ($_SESSION['adminer']['auto_login']['boolean'] == 'true') {
@@ -59,7 +59,6 @@ function adminer_object() {
// validate user submitted credentials
return ($_SESSION['adminer']['auto_login']['boolean'] == 'true') ? true : false;
}
*/
}