Jinzhu
Jinzhu
Hello @sredXNY It should be caused by this middleware. https://github.com/qor/admin/blob/master/route.go#L161-L171 It is used to ensure the POST is not from another website to avoid CRSF
So you must disabled to include `Referer` in the request header for your browser?
What's your browser and OS?
Are you using any proxy on server? and it dropped the `Referer` header?
@sredXNY could you debug that in the `crsf_check` middleware? I am not sure what happened, but I think the header was dropped or so.
I18n resource is special, it is not a normal CRUD Resource, it overrides all routes and handles requests by itself, so you can't get metas from it, do you have...
@priest671 @bigpigeon 你们的版本是最新的么?看了下 stack 对应的行号,好像没有啥实质的代码?
@samsonpaul did you get the same issue on windows? and have you updated all qor repos with `$GOPATH/github.com/qor/qor/update_all_qor_repos.sh`
这个在 todo 列表中。。。也欢迎提交 PR ;)
In favor of https://github.com/go-gorm/gorm/pull/5689