Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recaptcha to login modal #98

Open
kaitlinnewson opened this issue Aug 14, 2024 · 0 comments
Open

Add recaptcha to login modal #98

kaitlinnewson opened this issue Aug 14, 2024 · 0 comments

Comments

@kaitlinnewson
Copy link
Member

kaitlinnewson commented Aug 14, 2024

Describe the bug

When a user clicks 'login', a modal opens, but the recaptcha is missing. Users can still login once redirected to the login page, but we should add the recaptcha to the modal as well.

Applies to 3.4+ when captcha on login was added.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the home page of a journal with the theme enabled while logged out, and recaptcha setup in the config and captcha_on_login = on.
  2. Click login.
  3. Try to login, noting the missing recaptcha.
  4. Get an error and taken to the login page, where the recaptcha appears.

Expected behavior

The recaptcha should appear on the login modal.

Screenshots

Login modal with missing recaptcha:

Screenshot 2024-08-14 at 10 23 50 AM

Login page with recaptcha:

Screenshot 2024-08-14 at 10 24 07 AM

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

No branches or pull requests

1 participant