From d1805462e6655abd64f423a1ebcfeb71efac5b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 2 May 2021 18:09:08 +0200 Subject: [PATCH] manager: use proper submit label for password change view (#53650) --- src/authentic2/manager/user_views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/authentic2/manager/user_views.py b/src/authentic2/manager/user_views.py index 1f7891663..2dac4689b 100644 --- a/src/authentic2/manager/user_views.py +++ b/src/authentic2/manager/user_views.py @@ -564,12 +564,13 @@ class UsersExportProgressView(MediaMixin, TemplateView): users_export_progress = UsersExportProgressView.as_view() -class UserChangePasswordView(BaseEditView): +class UserChangePasswordView(ActionMixin, BaseEditView): template_name = 'authentic2/manager/form.html' model = get_user_model() form_class = UserChangePasswordForm permissions = ['custom_user.change_password_user'] title = _('Change user password') + action = _('Submit') success_url = '..' slug_field = 'uuid'