On Wed, 2002-10-16 at 12:03, [EMAIL PROTECTED] wrote:
> If there anyway to do this without being authenticated? I dn't really want to
> be authenticating as admin in the script as I may forget something and it could
> mean the user gets admin access.
Unfortunately, no.
If you call mgd_auth_midgard with the third parameter set
to zero:
mgd_auth_midgard("admin","password",0)
Then it will not create an authenticated session except
within the current page.
The after the user account has been created you can
switch the session into that user's account by calling
mgd_auth_midgard with the user's username and password.
/Bergie
--
Henri Bergius [EMAIL PROTECTED]
Consultant Partner Tel: +358-20-198 6032
Nemein Oy http://www.nemein.com/
Nemein.Net - Project tracking solution for consulting companies
http://www.nemein.com/Nemein.Net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]