Hey everyone!  I'm a major newb to CakePHP only been using it for 2
weeks now and I've run into a little trouble with some validation.
I've got a user registration page that I'm trying to create finally
got the check between passwords to work thanks to Chris Hartjes'
tutorial on user registration on his blog
http://www.littlehart.net/atthekeyboard/2008/01/22/simple-user-registration-in-cakephp-12-part-ii/

Anyways, using his techniques also introduced something else I wasn't
doing before using the Auth component.  Which is great, I would of
needed it anyways... problem is now if somebody does something wrong
(puts in a duplicate username, passwords don't match, uses wrong
characters for something, etc.) it displays my splash message "You've
been registered!  You can log in now." and redirects to the login
page.  Nothing has been added to the database because it didn't pass
validation, but it also didn't go back to the /users/register page
like it used to to display the errors.

I've got to go to work for right now, but I'll come back and post my
code so that you guys can take a look at it.  I was just hoping that
maybe someone knew what was going on and could help.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to