Eventually i changed it to a varbinary(65000) column and it started to work. In Cakephp 2 it worked with a varchar column. now it needs to be binary in 3 and have enough space.
On Wednesday, March 16, 2016 at 10:19:38 AM UTC+1, heavyKevy wrote:
-- On Wednesday, March 16, 2016 at 10:19:38 AM UTC+1, heavyKevy wrote:
I hate to state the obvious, but did you verify that the field size was large enough to store the encrypted value?I had a similar issue with hashing a password, the field wasn't large enough and the value was saved but cut off so that the password never matched.Maybe try it with the max varchar size and see if it will work.
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment