def change_password(self, request, pk=None): allow_self_only( request.user, pk, _("You can't change other users passwords.")) return change_password_endpoint(request)
def change_password(self, request, pk=None): allow_self_only(request.user, pk, _("You can't change other users passwords.")) return change_password_endpoint(request)