Manage{Tags,Users}: add call to resetSessionToken

This commit is contained in:
Aaron van Geffen 2023-03-11 19:34:52 +01:00
parent cf0b9ebaf9
commit a06902335b
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ class ManageTags extends HTMLController
if (!Registry::get('user')->isAdmin())
throw new NotAllowedException();
Session::resetSessionToken();
$options = [
'form' => [
'action' => BASEURL . '/edittag/',

View File

@ -14,6 +14,8 @@ class ManageUsers extends HTMLController
if (!Registry::get('user')->isAdmin())
throw new NotAllowedException();
Session::resetSessionToken();
$options = [
'form' => [
'action' => BASEURL . '/edituser/',