mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 03:53:59 +02:00
Notify user about expired master password for permanent login
This commit is contained in:
@@ -79,6 +79,9 @@ function decrypt_string($str, $key) {
|
||||
if ($str == "") {
|
||||
return "";
|
||||
}
|
||||
if (!$key) {
|
||||
return false;
|
||||
}
|
||||
$key = array_values(unpack("V*", pack("H*", md5($key))));
|
||||
$v = str2long($str, false);
|
||||
$n = count($v) - 1;
|
||||
|
Reference in New Issue
Block a user