Hi guys, thanks for your answers. Sorry, I didn't explained it well.
The situation is that I've builded an action in the user controller, to let the admin users add manually users to the table. For this purpose I've create a form in the view, which sends the data to an action in the users controller to save the data to the users table: All I do in this action is save the data to the users table, after this, it seems to happens like a sign up action, when the user create an account, send the data to the table, and after this is logged in. I'm using the Auth and Acl components. Is more clear now? Any help is welcome. Thanks in advance On Apr 23, 11:07 pm, "Alan Asher" <[email protected]> wrote: > Ya.. totally, let's see some code. It sounds like you're using some out of > the box code and never took out $this->Auth->login($this->data); > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > > Of cricket > Sent: Friday, April 23, 2010 6:16 PM > To: CakePHP > Subject: Re: User creation issue. > > On Apr 23, 3:47 pm, mau <[email protected]> wrote: > > Hi everybody! > > > I'm trying to build a user control panel for administrators, to add > > users, modify, give permissions, etc. > > > My problem is that when I try to save a new user to the user tables, > > it seems that cake is login the new user. > > > Is there any way to avoid that cakePHP, when I save a new user to the > > users table, not login the new user? > > What do you mean by, "login the new user"? Your administrator becomes > the new user? > > How are you saving this data? > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > with their CakePHP related questions. > > 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 > athttp://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > 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 > athttp://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
