From 031db4a72d884bf9a81856672319d7ff2923c4bb Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 6 Aug 2018 11:49:54 +0200 Subject: [PATCH] add jquery to password widgets medias (#24439) --- src/authentic2/forms/widgets.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/authentic2/forms/widgets.py b/src/authentic2/forms/widgets.py index a5811162b..7c63a8b96 100644 --- a/src/authentic2/forms/widgets.py +++ b/src/authentic2/forms/widgets.py @@ -204,7 +204,10 @@ class TimeWidget(PickerWidgetMixin, TimeInput): class PasswordInput(BasePasswordInput): class Media: - js = ('authentic2/js/password.js',) + js = ( + xstatic('jquery', 'jquery.min.js'), + 'authentic2/js/password.js', + ) css = { 'all': ('authentic2/css/password.css',) }