0002-manager-use-proper-submit-label-for-password-change-.patch
src/authentic2/manager/user_views.py | ||
---|---|---|
564 | 564 |
users_export_progress = UsersExportProgressView.as_view() |
565 | 565 | |
566 | 566 | |
567 |
class UserChangePasswordView(BaseEditView): |
|
567 |
class UserChangePasswordView(ActionMixin, BaseEditView):
|
|
568 | 568 |
template_name = 'authentic2/manager/form.html' |
569 | 569 |
model = get_user_model() |
570 | 570 |
form_class = UserChangePasswordForm |
571 | 571 |
permissions = ['custom_user.change_password_user'] |
572 | 572 |
title = _('Change user password') |
573 |
action = _('Submit') |
|
573 | 574 |
success_url = '..' |
574 | 575 |
slug_field = 'uuid' |
575 | 576 | |
576 |
- |