Remove duplication of recaptcha code, which caused issues, and improved script tag logic to check for errors.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user