Commit 58fb006c authored by Marius Cramer's avatar Marius Cramer

- Fixed: FS#3691 - Admin re-login after change admin password fails

parent 49b3f5ec
......@@ -97,6 +97,16 @@ class page_action extends tform_actions {
$app->error('Invalid language.');
}
}
function onAfterUpdate() {
global $app;
if($_POST['passwort'] != '') {
$tmp_user = $app->db->queryOneRecord("SELECT passwort FROM sys_user WHERE userid = '".$app->functions->intval($_SESSION['s']['user']['userid'])."'");
$_SESSION['s']['user']['passwort'] = $tmp_user['passwort'];
unset($tmp_user);
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment