From f7dda1f929d1889f5d3b4013344156439202d5b1 Mon Sep 17 00:00:00 2001 From: Tim Hostetler <6970899+thostetler@users.noreply.github.com> Date: Wed, 7 Jan 2026 13:31:08 -0500 Subject: [PATCH] fix: correct RequireJS dependency order for recaptcha in auth widget - Moved js/utils/recaptcha before backbone-validation and backbone.stickit in dependency array - recaptchaUtils was receiving backbone-validation (position 15) instead of recaptcha module (position 17) - Backbone plugins don't need params so must come after deps that do --- src/js/widgets/authentication/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/widgets/authentication/widget.js b/src/js/widgets/authentication/widget.js index 8c29222c3..8eafc65b6 100644 --- a/src/js/widgets/authentication/widget.js +++ b/src/js/widgets/authentication/widget.js @@ -13,9 +13,9 @@ define([ 'hbs!js/widgets/authentication/templates/resend-verification-email', 'js/components/user', 'analytics', + 'js/utils/recaptcha', 'backbone-validation', 'backbone.stickit', - 'js/utils/recaptcha', ], function( Marionette, BaseWidget,