(self, request: Request, user_id)
| 274 | get_details=get_re_password_details) |
| 275 | @has_permissions(PermissionConstants.USER_EDIT, RoleConstants.ADMIN) |
| 276 | def put(self, request: Request, user_id): |
| 277 | return result.success( |
| 278 | UserManageSerializer.Operate(data={'id': user_id}).re_password(request.data, with_valid=True)) |
| 279 | |
| 280 | class Page(APIView): |
| 281 | authentication_classes = [TokenAuth] |
nothing calls this directly
no test coverage detected