Log message #4193543

# At Username Text
# Jul 16th 2019, 17:10 ricksaccous i dunno
# Jul 16th 2019, 17:10 ricksaccous create some token and send it over? verify it on the other side?
# Jul 16th 2019, 17:09 maxxstyle06 Now I’m trying to find for alternatives for those components
# Jul 16th 2019, 17:09 maxxstyle06 People will cheat
# Jul 16th 2019, 17:08 maxxstyle06 But it’s not secure you know
# Jul 16th 2019, 17:08 maxxstyle06 yes now I disabled components for that
# Jul 16th 2019, 17:08 ricksaccous disable the components for that action?
# Jul 16th 2019, 17:08 maxxstyle06 But I failed! For the first time !
# Jul 16th 2019, 17:08 maxxstyle06 This error drove me crazy :( I have been searching more than 1 month for solution
# Jul 16th 2019, 17:06 maxxstyle06 they are hard to deal with when trying to send external post request to domain
# Jul 16th 2019, 17:05 maxxstyle06 No it’s because of security + csrf components
# Jul 16th 2019, 16:57 itmpls you'd have to whitelist that domain or use JSONP or other possible solutions
# Jul 16th 2019, 16:57 itmpls XSS?
# Jul 16th 2019, 16:57 itmpls 'blackholed'
# Jul 16th 2019, 16:54 maxxstyle06 hello please I have a problem in cakephp , so I want to send ajax post from an external website , but it keeps giving me the request has been blackholed. please I have been searching for more than 1 month to find solution for it but with no success. thanks in advance
# Jul 16th 2019, 16:45 maxxstyle06 I’m new here!
# Jul 16th 2019, 16:45 maxxstyle06 Hello everyone
# Jul 16th 2019, 15:32 ricksaccous as long as you let it try to save even if you ->getErrors you should be fine
# Jul 16th 2019, 15:32 yamcomnet you should make sequence core component to cake?
# Jul 16th 2019, 15:31 ricksaccous generally you would do if ($this->Model->save()) { redirect}
# Jul 16th 2019, 15:28 ricksaccous if that fits your use case then yeah
# Jul 16th 2019, 15:28 itmpls to show up as a proper validation error when i need
# Jul 16th 2019, 15:27 itmpls i guess i need one in validationDefault too
# Jul 16th 2019, 15:27 ricksaccous to the entity
# Jul 16th 2019, 15:27 ricksaccous after the failed save it attaches
# Jul 16th 2019, 15:26 itmpls how would this work if its triggered on save and not patch entity? does it check for 'errorField' and bind on patchEntity because of that?
# Jul 16th 2019, 15:22 ricksaccous or something like that
# Jul 16th 2019, 15:22 slackebot <ricksaccous>
# Jul 16th 2019, 15:21 ricksaccous so it would look like
# Jul 16th 2019, 15:21 ricksaccous then you just fill out the message param
# Jul 16th 2019, 15:21 ricksaccous @itmpls for some reason i have found it works, if you put the field you want to be the error field first in order in the isUnique
# Jul 16th 2019, 15:18 slackebot null so maybe that's where the problem it is. Has anyone encountered something similar and where could I be wrong?
# Jul 16th 2019, 15:18 scuadra Hello. I am trying to migrate my users table from Cake 2 and use it in a Cake 3 project. I changed my password field in the database to varchar(255). Unfortunately I can't make it work. I used this link (https://book.cakephp.org/3.0/en/controllers/components/authentication.html#changing-hashing-algorithms) but when I checked in vendor\cakephp\cakephp\src\Auth\WeakPasswordHasher.php I found out that in the check() function $hashedPassword is
# Jul 16th 2019, 15:17 itmpls This doesn't seem to trigger an error for the title field?
# Jul 16th 2019, 15:17 yamcomnet @admad ok. Thanks
# Jul 16th 2019, 15:17 itmpls http://dpaste.com/0T86K70
# Jul 16th 2019, 15:16 admad @yamcomnet you can't. But the sequence behaviour automatically sets the order for a find of you haven't set any explicitly
# Jul 16th 2019, 15:10 ricksaccous scroll down a bit to see the options in action
# Jul 16th 2019, 15:10 ricksaccous @itmpls https://book.cakephp.org/3.0/en/orm/validation.html#creating-a-rules-checker
# Jul 16th 2019, 15:09 ricksaccous in most rules
# Jul 16th 2019, 15:09 ricksaccous @itmpls there is an option for errorField or something