I tried this and it does remove the error about the undefined error
variable.
However the result of the error variable is not rendered/passed across
if i enter an incorrect username and password like it used to.
I did change users_controller.php to redirect to '/' if username and or
password doesnt match. If i remove this redirect (like in the
tutorial) the URL shows "/users/login" if wrong username and or passwor
is entered and, error message is displayed.
How could I send the user back to "/" and pass/display the error
massage from the users_controller?
Thanks for you by the way; much appreciated...
Can you pasted your /app/controllers/users_controller.php and your /app/views/users/login.thtml in a bin at http://cakephp.org/pastes/add ? I will modify the code to make it work.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---
