Remove all CoreLibs\Basic references in admin class test file

This commit is contained in:
Clemens Schwaighofer
2022-03-16 10:27:31 +09:00
parent 105e0d69a1
commit 7d1d795b29
26 changed files with 24 additions and 179 deletions

View File

@@ -41,7 +41,6 @@ $log = new CoreLibs\Debug\Logging([
'echo_all' => $ECHO_ALL ?? false,
'print_all' => $PRINT_ALL ?? false,
]);
$basic = new CoreLibs\Basic($log);
$_password = new CoreLibs\Check\Password();
$password_class = 'CoreLibs\Check\Password';
@@ -65,13 +64,6 @@ print "PASSWORD REHASH: " . (string)$password_class::passwordRehashCheck($enc_pa
// direct static
print "S::PASSWORD VERFIY: " . (string)PwdChk::passwordVerify($password, $enc_password) . "<br>";
// DEPRECATED
/* $password = 'deprecated4567';
$enc_password = $basic->passwordSet($password);
print "PASSWORD: $password: ".$enc_password."<br>";
print "PASSWORD VERIFY: ".(string)$basic->passwordVerify($password, $enc_password)."<br>";
print "PASSWORD REHASH: ".(string)$basic->passwordRehashCheck($enc_password)."<br>"; */
// error message
print $log->printErrorMsg();