We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49b3f5e commit 58fb006Copy full SHA for 58fb006
interface/web/tools/user_settings.php
@@ -97,6 +97,16 @@ function onBeforeUpdate() {
97
$app->error('Invalid language.');
98
}
99
100
+
101
+ function onAfterUpdate() {
102
+ global $app;
103
104
+ if($_POST['passwort'] != '') {
105
+ $tmp_user = $app->db->queryOneRecord("SELECT passwort FROM sys_user WHERE userid = '".$app->functions->intval($_SESSION['s']['user']['userid'])."'");
106
+ $_SESSION['s']['user']['passwort'] = $tmp_user['passwort'];
107
+ unset($tmp_user);
108
+ }
109
110
111
112
0 commit comments