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
Replace use CodeIgniter\Entity with Myth\Auth\Entities\User
Replace public function check(string $password, ?Entity $user = null): bool method with public function check(string $password, ?User $user = null): bool
Do all necessary changes to all validators to use User class instead of Entity class.
BaseValidator
andValidatorInterface
provide almost identical offerings. One of these should be deprecated, depending on whether the intent. Either:abstract public function check()
(less restriction, more changes elsewhere)Either solution should account for the following:
CodeIgniter\Entity
which is deprecatedEntity
input when most validators requireUser
PasswordValidator
is not a valid interface class because of 2)The text was updated successfully, but these errors were encountered: