This commit is contained in:
tianshujie98
2021-03-30 08:31:20 +08:00
parent 902addc823
commit f8c83e6ab7
+1
View File
@@ -36,6 +36,7 @@ class actionModel extends model
$actor = $actor ? $actor : $this->app->user->account;
$actionType = strtolower($actionType);
$actor = $actionType == 'openedbysystem' ? '' : $actor;
if($actor == 'guest' and $actionType == 'logout') return false;
$objectType = str_replace('`', '', $objectType);