从网站的浏览历史记录进入 或者转发到微信,就报错“”Flarum \ User \ Exception \ PermissionDeniedException
No message“”
大概看了下,好像是由于访客用户权限的问题引起的异常,但是不知道改怎么修改,有大神帮忙指点下吗?
public function assertPermission($condition)
{
if (! $condition) {
throw new PermissionDeniedException;
}
}
/**
* Ensure the given actor is authenticated.
*
* This will throw an exception for guest users, signaling that
* *authorization* failed. Thus, they could retry the operation after
* logging in (or using other means of authentication).
*
* @throws NotAuthenticatedException
*/