You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to CodeIgniter 4.5, the check method in Authentication\Passwords\CompositionValidator began to fail due to the following error:
Could not check compatibility between Myth\Auth\Authentication\Passwords\CompositionValidator::check(string $password, ?CodeIgniter\Entity\Entity $user = null): bool and Myth\Auth\Authentication\Passwords\ValidatorInterface::check(string $password, ?CodeIgniter\Entity $user = null): bool, because class CodeIgniter\Entity is not available
To fix this, I updated the Authentication\Passwords\ValidatorInterface.php file with the following and it seems to have corrected the issue:
#use CodeIgniter\Entity;
use CodeIgniter\Entity\Entity;
The text was updated successfully, but these errors were encountered:
After upgrading to CodeIgniter 4.5, the
check
method in Authentication\Passwords\CompositionValidator began to fail due to the following error:Could not check compatibility between Myth\Auth\Authentication\Passwords\CompositionValidator::check(string $password, ?CodeIgniter\Entity\Entity $user = null): bool and Myth\Auth\Authentication\Passwords\ValidatorInterface::check(string $password, ?CodeIgniter\Entity $user = null): bool, because class CodeIgniter\Entity is not available
To fix this, I updated the Authentication\Passwords\ValidatorInterface.php file with the following and it seems to have corrected the issue:
The text was updated successfully, but these errors were encountered: