splitbrain / dokuwiki-plugin-captcha

Use a CAPTCHA challenge to protect DokuWiki against automated spam
http://www.dokuwiki.org/plugin:captcha
GNU General Public License v2.0
11 stars 12 forks source link

PHP 8 - Warning: Undefined array key #130

Closed temperatur closed 2 years ago

temperatur commented 2 years ago

Hi, i am getting the warning:

Warning: Undefined array key "REMOTE_USER" in /{Path}/lib/plugins/captcha/action.php on line 190

on the login form with php 8. I gues this is because $_SERVER['REMOTE_USER'] is not set for not logged in users.

JoBongHyeon commented 2 years ago

https://github.com/splitbrain/dokuwiki/issues/3753#issuecomment-1226776398

splitbrain commented 2 years ago

same as #131