Skip to content
Snippets Groups Projects
Commit cdccdd63 authored by Samuli Sillanpää's avatar Samuli Sillanpää Committed by Demian Katz
Browse files

Fix bug in using CSRF when deleting an account.

parent c5589e7a
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment