Re: making a user active
jon webb <[email protected]> Sun, 01 Jan 2006 15:11:15 +0000
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
At 11:21 01/01/2006, you wrote: >Hi, > >You cannot create and login a user at the same time (as far as I know). >After creating the user you should use the login function (much cleaner as >far as I know, init does some more stuff than just login). > >As for the activation: use the LUA->updateUser function with in the data >array is_active set to true. oh I tried that and it didn't work, but just tried again and it did... must have messed something up first time. I'm using a slightly older version of Liveuser so don't have to worry about the separate init/login yet... thanks for the help jon jon webb / [email protected] / www.justridingalong.com Unit 2, Bruce Works, 49 Mowbray Street, Sheffield, S3 8EN / tel:0114 2700065 / mob:07791 902098