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:
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.
Click login.
Try to login, noting the missing recaptcha.
Get an error and taken to the login page, where the recaptcha appears.
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:
captcha_on_login = on
.Expected behavior
The recaptcha should appear on the login modal.
Screenshots
Login modal with missing recaptcha:
Login page with recaptcha: