forked from Public/pics
Manage{Tags,Users}: add call to resetSessionToken
This commit is contained in:
parent
cf0b9ebaf9
commit
a06902335b
@ -14,6 +14,8 @@ class ManageTags extends HTMLController
|
||||
if (!Registry::get('user')->isAdmin())
|
||||
throw new NotAllowedException();
|
||||
|
||||
Session::resetSessionToken();
|
||||
|
||||
$options = [
|
||||
'form' => [
|
||||
'action' => BASEURL . '/edittag/',
|
||||
|
@ -14,6 +14,8 @@ class ManageUsers extends HTMLController
|
||||
if (!Registry::get('user')->isAdmin())
|
||||
throw new NotAllowedException();
|
||||
|
||||
Session::resetSessionToken();
|
||||
|
||||
$options = [
|
||||
'form' => [
|
||||
'action' => BASEURL . '/edituser/',
|
||||
|
Loading…
Reference in New Issue
Block a user