Skip to content

Conversation

wocodes
Copy link

@wocodes wocodes commented Jun 25, 2021

When the Encryptable Trait is used on a model, and the model contains unencrypted attributes, the $encryptable attributes returns false instead of the database value.

This fix checks if the decrypt() method returns false, and then returns the database value instead of false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant