johnallan
Joined: 23 Jul 2009
Posts: 14
Is it possible to pass the admin login and password on the browser url, to automate the admin login process?

ie. ?login=admin&password=admin

Thanks,
John


Re: Pass admin login/password on browser url
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7279
I dont think thats possible - Anyway, you just log once, and you will stay logged in ...

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: Pass admin login/password on browser url
johnallan
Joined: 23 Jul 2009
Posts: 14
mjau-mjau wrote
I dont think thats possible - Anyway, you just log once, and you will stay logged in ...


Unfortunately, it's unacceptable to have to login twice with my use (once for Joomla and once for the imagevuex manager), which is running the manager embedded within Joomla.

I now have your manager authorizing joomla login credentials (that are passed on the url), via a mySQL query to the Joomla database.

The problem that I am still having is with your routing. Although I inherited your ivUserManager just fine and their were minor code changes within index.php to instantiate the inherited userManager object: Imagevuex manager still insists on displaying the login box, even though the credentials are validated and it says "Welcome John".
But, I can't seem to skip the login box and go right to the manager screen now.

Thanks,
John


Re: Pass admin login/password on browser url
User avatar
Imagevue Developer
Joined: 29 Jun 2008
Posts: 12
Out there
As you must understand, it's unsecure to pass login and password through GET request ('cause in this case your credentials will be stored in browser history). And we don't recommend you to change sources of Imagevue because you'll have problems while upgrading to new versions.

So the best solution for you is to set correct account cookie. You can use ivAuth::authenticate() method for this purpose or create a cookie manually by using php setcookie() function.


 
Imagevue Forums HomeForum  View topic - Pass admin login/password on browser url4 posts