I have an app that uses Auth component. Logedin members can alter their data as long as I have no validation rules in users model. When I add array $validate in model logedin users cannot submit data to database.
I use one mysql table named users.
In other words this works but I don't have validation in signup view
<?php class User extends AppModel { var $name = 'User'; ?>
But when I add validation like this:
<?php class User extends AppModel { var $name = 'User'; var $validate = array( 'email' => array( 'email' => array('rule' => 'email','required'=>true,'message' => 'Enter proper mail') ) ); } ?>
validation in signup view works but users in secret area cannot enter data to database.