add logging for password change

This commit is contained in:
mischa 2022-09-06 14:39:18 +00:00
parent 6f6ad2e0d1
commit feed2f0428
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
$sth->bindParam(1, $hashed, PDO::PARAM_STR);
$sth->bindParam(2, $username, PDO::PARAM_STR);
$sth->execute();
logging($SESSID_USERNAME, $domain, $LANG['Logging_password_change'], $username);
$message = $LANG['Password_result_succes'];
} catch(PDOException $e) {
$message = $LANG['Password_result_error'];