Here is my query in CakePHP 3.x
public function confirmation($token){
$result = $this->Users->findAllByVerificationCode($token);
debug($result->first());
die();
}
If the variable $token is too long, the result is always null
, but if i make it short, i get a result.
What is going on?