Fix User Password Check now that we have attribute tags

This commit is contained in:
2025-04-06 22:12:16 +10:00
parent 8f39603f9f
commit ffa8cdc826
2 changed files with 4 additions and 4 deletions

View File

@@ -236,7 +236,7 @@ class HomeController extends Controller
$password = $o->getObject('userpassword');
$result = collect();
foreach ($password as $key => $value) {
foreach ($password->values->dot() as $key => $value) {
$hash = $password->hash($value);
$compare = Arr::get($request->password,$key);
//Log::debug(sprintf('comparing [%s] with [%s] type [%s]',$value,$compare,$hash::id()),['object'=>$hash]);