add logging for password change
This commit is contained in:
parent
6f6ad2e0d1
commit
feed2f0428
|
@ -69,6 +69,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||||
$sth->bindParam(1, $hashed, PDO::PARAM_STR);
|
$sth->bindParam(1, $hashed, PDO::PARAM_STR);
|
||||||
$sth->bindParam(2, $username, PDO::PARAM_STR);
|
$sth->bindParam(2, $username, PDO::PARAM_STR);
|
||||||
$sth->execute();
|
$sth->execute();
|
||||||
|
logging($SESSID_USERNAME, $domain, $LANG['Logging_password_change'], $username);
|
||||||
$message = $LANG['Password_result_succes'];
|
$message = $LANG['Password_result_succes'];
|
||||||
} catch(PDOException $e) {
|
} catch(PDOException $e) {
|
||||||
$message = $LANG['Password_result_error'];
|
$message = $LANG['Password_result_error'];
|
||||||
|
|
Loading…
Reference in New Issue