diff --git a/module/VuFind/src/VuFind/Controller/MyResearchController.php b/module/VuFind/src/VuFind/Controller/MyResearchController.php index e0b7978b55174d66acd897ee4cf43290888603d3..8b0b80e89c4fda49a674b4aeb73359ef330c0d09 100644 --- a/module/VuFind/src/VuFind/Controller/MyResearchController.php +++ b/module/VuFind/src/VuFind/Controller/MyResearchController.php @@ -1743,7 +1743,7 @@ class MyResearchController extends AbstractBase ); } else { // After successful token verification, clear list to shrink session: - $this->csrf->trimTokenList(0); + $csrf->trimTokenList(0); } $user->delete( $config->Authentication->delete_comments_with_user ?? true