Well I went over the ticket component and it all looked correct. Still
a bit confused on what your general question is.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send emai
The lines I mentioned aren't immediately separated.
On 14 mar, 02:55, Miles J wrote:
> In the link you sent me, that code isn't even existent. This is
> however:
>
> // uses the ticket to reset the password for the correct user.
> function password($hash = null)
> {
> if ( $email
In the link you sent me, that code isn't even existent. This is
however:
// uses the ticket to reset the password for the correct user.
function password($hash = null)
{
if ( $email = $this->Tickets->get($this->params['controller'],
$hash) )
{
--~--~-~--~~-
The get function is defined with one parameter ($ticket), then it is
called with two parameters ($this->params['controller'] and $hash).
How come that is right???
On 13 mar, 18:10, Miles J wrote:
> Yes? Theres nothing wrong with that code.
--~--~-~--~~~---~--~~
Yo
Yes? Theres nothing wrong with that code.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
I found these two lines
function get($ticket = null)
if ( $email = $this->Tickets->get($this->params['controller'],
$hash) )
at
http://bakery.cakephp.org/articles/view/ticket-component-resetting-user-passwords
Are they right???
--~--~-~--~~~---~--~~
You received