So I have an action that verifies an email address after a successful
signup. It uses a hash that was given in the email sent out.
function verify($hash = '') {
}
This is my test hash and the url becomes: /users/verify/
eac20adf536b50f9fc0be58550fde763
When I go to that page, and even without submitting a form or doing
any data checking, this query is ran.
SELECT COUNT(*) AS `count` FROM `users` AS `User` WHERE `User`.`id` =
'eac20adf536b50f9fc0be58550fde763'
Why is it grabbing the hash from the controller action and running a
query when no interaction is made?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---