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())
|
if (!Registry::get('user')->isAdmin())
|
||||||
throw new NotAllowedException();
|
throw new NotAllowedException();
|
||||||
|
|
||||||
|
Session::resetSessionToken();
|
||||||
|
|
||||||
$options = [
|
$options = [
|
||||||
'form' => [
|
'form' => [
|
||||||
'action' => BASEURL . '/edittag/',
|
'action' => BASEURL . '/edittag/',
|
||||||
|
@ -14,6 +14,8 @@ class ManageUsers extends HTMLController
|
|||||||
if (!Registry::get('user')->isAdmin())
|
if (!Registry::get('user')->isAdmin())
|
||||||
throw new NotAllowedException();
|
throw new NotAllowedException();
|
||||||
|
|
||||||
|
Session::resetSessionToken();
|
||||||
|
|
||||||
$options = [
|
$options = [
|
||||||
'form' => [
|
'form' => [
|
||||||
'action' => BASEURL . '/edituser/',
|
'action' => BASEURL . '/edituser/',
|
||||||
|
Loading…
Reference in New Issue
Block a user