manager: use proper submit label for password change view (#53650)

This commit is contained in:
Frédéric Péters 2021-05-02 18:09:08 +02:00
parent 99d7650090
commit d1805462e6
1 changed files with 2 additions and 1 deletions

View File

@ -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'