Hi everyone, I need help..., I am using the Auth component in cake, but I encountered two issues so far and couldn't find good answers, shed me some light please.
1) Register issue: I set up some validation rules for the password field in my user model, so if the password user provided doesn't comply my rule, the user will be redirected to the registration page with error message. Everything is fine except that the password will still be displayed in the password text field (with bullet points), and it's a very long row of bullet points because of the encryption. I don't want the user see the confusing long bullet points. How can I make the password field empty?? 2) Reset password issue: In my site, I allow user reset their password by typing the email in a text box, then the script will generate an email with a link, the users click on the link and they will be taken to a page to reset their password. The issue is when the user finished resetting the password, I redirect the user to the login page. However, when the user logs in, because the "Auth Component" always redirects you to the page where you were linked to the login page (autoDirect is on), the user now will always be redirected back to the "reset password" page. So how can I make the user be redirected to another page (e,g. homepage), after they have logged in. I don't want to turn the "autoRedirect" off, because for most of the time, this is helpful. Thanks thousand times for your patience reading my long post, any implication will be really appreciated!!! -David -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
