Bug #3024: oneflow template creation not working with the new csrftoken fix