Remove duplication of recaptcha code, which caused issues, and improved script tag logic to check for errors.

This commit is contained in:
2026-01-31 17:30:03 +00:00
parent e29832c202
commit 32f95d7ae4
2 changed files with 27 additions and 17 deletions
+1 -3
View File
@@ -69,9 +69,7 @@
.dlg-inner
.message=''
%button.close=_'modals.done_button'
- if @login_dlg.present?
= content_for :recaptcha_js do
= include_recaptcha_js
- if @login_dlg.present?
.dlg#login-dlg
.dlg-content
%h2.title=_'forms.actions.generic.login'