[Web] Fix update for mailbox
parent
819626ab60
commit
ebc395a4ae
|
@ -2115,7 +2115,7 @@ function mailbox($_action, $_type, $_data = null, $attr = null) {
|
||||||
$password_hashed = hash_password($password);
|
$password_hashed = hash_password($password);
|
||||||
try {
|
try {
|
||||||
$stmt = $pdo->prepare("UPDATE `mailbox` SET
|
$stmt = $pdo->prepare("UPDATE `mailbox` SET
|
||||||
`password` = :password_hashed,
|
`password` = :password_hashed
|
||||||
WHERE `username` = :username");
|
WHERE `username` = :username");
|
||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':password_hashed' => $password_hashed,
|
':password_hashed' => $password_hashed,
|
||||||
|
|
Loading…
Reference in New Issue