[Deprecation warning]: I am currently not using Piwigo and therefore stopped supporting this plug-in. Please take the code and update it. Contact me, if you need initial help in taking over this plugin!
This plugin should work with many themes as the recaptcha tag is inserted using Javascript!
Please follow the instructions provided at:
https://github.com/reisi007/Reisishot-Login-Security-for-PIWIGO/blob/master/README.md
In short:
- You need the LocalFiles Editor plugin (https://piwigo.org/ext/extension_view.php?eid=144)
- You must get recaptcha v2 keys for your domain
(https://www.google.com/recaptcha/admin#list)
- You must define three config variables:
The first one changes the function, which verifies the users password
The second one is the 'Website Key' (or similar).
The third and last one is the 'Secret key'.
Please put the two keys inside ' as shown below:
$conf['password_verify'] = 'reisishot_password_verify';
$conf['recaptcha_public'] = 'mypublickey1415';
$conf['recaptcha_secret'] = 'myprivatekey1425';
That's it :D!
PS: URL fopen (http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen) must be enabled!