Commit 27a145c2 authored by Christian Schudt's avatar Christian Schudt
parents 36ebfaf5 4eace5db
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
RegistrationPlugin plugin = (RegistrationPlugin) webManager.getXMPPServer().getPluginManager().getPlugin("registration"); RegistrationPlugin plugin = (RegistrationPlugin) webManager.getXMPPServer().getPluginManager().getPlugin("registration");
ReCaptcha reCaptcha = null; ReCaptcha reCaptcha = null;
if (plugin.reCaptchaEnabled()) { if (plugin.reCaptchaEnabled()) {
reCaptcha = ReCaptchaFactory.newReCaptcha( reCaptcha = ReCaptchaFactory.newSecureReCaptcha(
plugin.getReCaptchaPublicKey(), plugin.getReCaptchaPublicKey(),
plugin.getReCaptchaPrivateKey(), plugin.getReCaptchaPrivateKey(),
plugin.reCaptchaNoScript()); plugin.reCaptchaNoScript());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment