Automatic login from localhost

Support and queries relating to all previous versions of ZoneMinder
Locked
scott_farmer
Posts: 2
Joined: Mon Apr 03, 2006 5:46 pm

Automatic login from localhost

Post by scott_farmer »

I was wondering if there was a way to automatically send the admin username and password, or bypass authentication from localhost.

I want to force users to enter the username and pass when accessing the site over the internet, but I also want a browser to start locally on the machine and show the montage screen when the system starts up. Is there a way to pass the username and password in the url, or a way to tell ZM to not authenticate if the request comes from localhost?

Thanks.

Scott.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Yes you may pass it in the URL as:
&username=your_user&password=your_password

Regards,
Corey
scott_farmer
Posts: 2
Joined: Mon Apr 03, 2006 5:46 pm

Thanks!!!

Post by scott_farmer »

Thanks for the help Corey, that works great!

Just to clarify things a little, this is how I got the auto login on localhost to work.

http://locahost/zm/index.php?&action=lo ... sword=pass
Locked