Skip to content

Commit

Permalink
Update syntax.php
Browse files Browse the repository at this point in the history
now invalidates all sessions after a user has been modified
  • Loading branch information
haraldronge committed Oct 1, 2014
1 parent 8f454b4 commit f2336e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ function render($mode, &$renderer, $data)
}
if (count($update) > 0) {
if ($this->_auth->triggerUserMod('modify',array($name, $update))) {
io_saveFile($conf['cachedir'] . '/sessionpurge', time()); //invalidate all sessions
if ($status == 0) $status = 1;
} else {
$status = 2;
Expand Down

0 comments on commit f2336e2

Please sign in to comment.