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
thank you for this plugin.
I have a problem with saving encrypted data.
Then i save my model, the normal unencrypted data saved to the database.
What´s my mistake? I declare the encryption key in the env-file like you describe it in your introduction.
Thank you for help
The text was updated successfully, but these errors were encountered:
Same issue here on a new Laravel project (5.7.19). It does work when you update your model with a new value.
This seems to be caused by the different handling in the performInsert and performUpdate functions in Illuminate\Database\Eloquent\Model.
The performInsert function uses Model->getAttributes(), which returns the unencrypted values.
The performUpdate function uses Model->getDirty(), which returns the encrypted values.
Hi,
thank you for this plugin.
I have a problem with saving encrypted data.
Then i save my model, the normal unencrypted data saved to the database.
What´s my mistake? I declare the encryption key in the env-file like you describe it in your introduction.
Thank you for help
The text was updated successfully, but these errors were encountered: