aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/public/password
diff options
context:
space:
mode:
authorM.Gergo2019-01-20 11:48:48 +0100
committerM.Gergo2019-01-20 11:48:48 +0100
commitf70027ffbedce10f412868a7bf9b0b67b113f1b1 (patch)
treefbcc48049f1e66fe3ec66a0f3d8eee47bb400cdb /mayor-orig/www/policy/public/password
parente6988247360fa98b85915a38803d018dd353df00 (diff)
downloadmayor-f70027ffbedce10f412868a7bf9b0b67b113f1b1.tar.gz
mayor-f70027ffbedce10f412868a7bf9b0b67b113f1b1.zip
Rev: 4423
Diffstat (limited to 'mayor-orig/www/policy/public/password')
-rw-r--r--mayor-orig/www/policy/public/password/changeMyPassword-pre.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mayor-orig/www/policy/public/password/changeMyPassword-pre.php b/mayor-orig/www/policy/public/password/changeMyPassword-pre.php
index f7c68879..e9ef2f3c 100644
--- a/mayor-orig/www/policy/public/password/changeMyPassword-pre.php
+++ b/mayor-orig/www/policy/public/password/changeMyPassword-pre.php
@@ -2,6 +2,9 @@
if (_RIGHTS_OK !== true) die();
+ _clearSessionCache($sessionID);
+ unsetTokenCookies(); // ha valaki ide tévedne, visszavonjuk a Tokenjét és a cache-t is vissza kell
+
$toPolicy = readVariable($_REQUEST['toPolicy'], 'enum', 'private', $POLICIES);
$userAccount = readVariable($_REQUEST['userAccount'], 'emptystringnull', (defined('_USERACCOUNT'))?_USERACCOUNT:null);