0

First i run my sails project in local , after i pushed in git repo and then i changed in online and then pushed in remote place. then i downloaded in my local. This changes produce permission problem. that is

"You don't have permission to see the page you're trying to reach" 

this error caused while i was inserting data in mongo. what i should do ? i want get output back

4

1 回答 1

1

这是一个猜测,因为我不确定您的代码是什么样的,但我猜您没有包含以下 CSRF 行

<input type="hidden" name="_csrf" value="<%= _csrf %>" />

在您正在执行 POST 的表单中。

于 2015-07-29T09:30:22.983 回答