Good day everyone. I have two questions regarding verification in INVO example.
I have built a validator in model User that checks if password field is longer than 8 characters. The problem is, when SessionController registerAction sends $password variable to model, it is already encrypted with sha1 and therefore model validator considers it longer that 8 characters and the validation passes, which shouldn't. Any suggestions?
- In this registration form , I dont understand how warnigs like ''Warning! Please provide a valid password'' are generated if I dont enter the password. Where is the validation code that shows the warning? What activates the warning?
Since I'm a beginner, I would appreciate long explainations :P
Thank you all :)