Re: making a user active
michiel nugter <michiel-7H78rwzWSIOg3/[email protected]> Sun, 01 Jan 2006 12:21:13 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
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. Happy new year! jon webb wrote: > Should be a simple one... how do I make a new user active? Up till > now I just wrote a custom query to do it but that's not very > satisfactory. > > Also is there a simple way to create and login a new user at the same > time, other than just calling init after creating them? > > > thanks and happy new year to everyone > > > > jon > > > > jon webb / [email protected] / www.justridingalong.com > > Unit 2, Bruce Works, 49 Mowbray Street, Sheffield, S3 8EN / tel:0114 > 2700065 / mob:07791 902098 > _______________________________________________ > LiveUser mailing list > [email protected] > http://mailman.21st-hq.de/mailman/listinfo/liveuser > >