aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/public/password
diff options
context:
space:
mode:
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);