We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Impossible to use the CodeIgniter\Entity setter with the 4.0.0-beta.3 release while it works well with 4.0.0-beta.1.
You can just run the example: https://codeigniter4.github.io/userguide/models/entities.html?highlight=entity#handling-business-logic to realize the malfunction.
public function setPassword(string $pass) { $this->password = password_hash($pass, PASSWORD_BCRYPT); return $this; }
The text was updated successfully, but these errors were encountered:
A few days ago the logic of the Entity changed. Now the data is stored in the $attributes property. Try this
$this->attributes['password'] = password_hash($pass, PASSWORD_BCRYPT);
Sorry, something went wrong.
No branches or pull requests
Hi,
Impossible to use the CodeIgniter\Entity setter with the 4.0.0-beta.3 release while it works well
with 4.0.0-beta.1.
You can just run the example:
https://codeigniter4.github.io/userguide/models/entities.html?highlight=entity#handling-business-logic to realize the malfunction.
The text was updated successfully, but these errors were encountered: