[pmwiki-users] Always logged in for my IP (no password requested) : how to ?

ABClf languefrancaise at gmail.com
Fri Sep 7 16:38:49 CDT 2012

Thank you warmly Petko for your help.

The code you suggested to be added...

if($_SERVER['REMOTE_ADDR'] == '') { # your IP address here
 $_POST['authpw'] = 'xxx';                  # the admin password

... works fine.

Considering your second answer about security issues to be taken in
account, I'm now trying your Persistent login recipe rather instead of
the ip based solution I was asking help for.

Merci ;)



| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com

More information about the pmwiki-users mailing list