| 27 Jul 2009, 09:48 | |
|
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 |
| 03 Aug 2009, 04:53 | Re: Pass admin login/password on browser url |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7279 |
I dont think thats possible - Anyway, you just log once, and you will stay logged in ...
_________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 03 Aug 2009, 08:20 | Re: Pass admin login/password on browser url |
|
Joined: 23 Jul 2009
Posts: 14 |
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 |
| 04 Aug 2009, 08:15 | Re: Pass admin login/password on browser url |
|
Imagevue Developer Joined: 29 Jun 2008Posts: 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. |




