Skip to content

Bugfix stable 3 4 0 100 fix captcha on login#129

Open
jonasraoni wants to merge 4 commits intopkp:stable-3_4_0from
jonasraoni:bugfix-stable-3_4_0-100-fix-captcha-on-login
Open

Bugfix stable 3 4 0 100 fix captcha on login#129
jonasraoni wants to merge 4 commits intopkp:stable-3_4_0from
jonasraoni:bugfix-stable-3_4_0-100-fix-captcha-on-login

Conversation

@jonasraoni
Copy link

No description provided.

@jonasraoni jonasraoni linked an issue Sep 17, 2025 that may be closed by this pull request
@jonasraoni
Copy link
Author

@kaitlinnewson / @Vitaliy-1, if everything's ok, there are other PRs attached to the issue:

<fieldset class="recaptcha_wrapper">
<div class="fields">
<div class="recaptcha">
<div class="g-recaptcha" data-sitekey="{$recaptchaPublicKey|escape}" data-theme="dark">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was data-theme="dark" intended? I don't see it on the other PRs and I think it would be better without it in this particular theme, since the background is light on the modal as well.


{* recaptcha spam blocker *}
{if $recaptchaPublicKey}
{if $recaptchaPublicKey && \PKP\config\Config::getVar('captcha', 'captcha_on_login')}
Copy link
Member

@kaitlinnewson kaitlinnewson Sep 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps the captcha_on_login and captcha_on_register (below) should also be a variable passed from PragmaThemePlugin.inc.php instead of checking the config in the templates?

@kaitlinnewson
Copy link
Member

Hi @jonasraoni, just a couple of minor comments above, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add recaptcha to login modal

2 participants