BoltControllerBackendRecords::edit Bolt CMS中的反CSRF令牌功能


Anti CSRF token functionality still disabled in BoltControllerBackendRecords::edit BOLT CMS

我对Bolt CMS有问题。当我添加一个新记录并保存它时,我会收到这样的消息:

"Bolt''Controller''Backend''Records::edit"中仍禁用反CSRF令牌功能

因此,我添加的内容不会显示在我的视图中。

以下是我的内容类型和我的观点,以向您展示我的代码是正确的(我认为):

pictures:
    name: Pictures
    singular_name: picture
    fields:
        title:
            type: text
            class: large
            group: content
        slug:
            type: slug
            uses: title
        image:
            type: image
        text:
            type: html
            height: 300px
    recordsperpage: 100
    default_status: publish
    sort: -datepublish

{% include '_header.twig' %}
<body class="home__bg">
    <div class="container">
        <section>
            <div class="row">
                <div class="col-md-10 col-md-offset-1 page__window">
                    <div class="col-md-12 page__window__in">
                        <h2>News</h2>
                        <div class="page__body">
                            {% setcontent adverts = 'pictures/latest/100' %}
                                {% for picture in pictures %}
                                    {{ picture.image }}
                                {% endfor %}    
                            
                        </div><!-- /.marketing__pics -->
                    </div><!-- /.page__window__in -->
                </div><!-- /.page__window -->
            </div><!-- /.row -->
        </section>
    </div><!-- /.container -->
{% include '_footer.twig' %}

谢谢你的帮助。

是的,它目前在master(开发)分支中被禁用,因为我们正在进行重构。警告是为了提醒我们"还没有完成"

当它作为稳定版本发布时,它将被重新发布,所以请现在使用稳定版本进行任何生产工作。