mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Change Login changePassword, fixes #456
* The db_udpate function already sets backticks around the table name, which results and error name if the string passed as argument for the table name already contains backticks. Signed-off-by: Sven Seeberg <mail@sven-seeberg.de>
This commit is contained in:
1 parent
9267cc64a0
commit
7fd3d30418
1 file changed
+1
-1
+1
-1
@@ -110,7 +110,7 @@ class Login {
|
||||
'password' => pacrypt($new_password),
|
||||
);
|
||||
|
||||
$result = db_update($this->key_table, 'username', $username, $set);
|
||||
$result = db_update($this->table, 'username', $username, $set);
|
||||
|
||||
if ($result != 1) {
|
||||
db_log($domain, 'edit_password', "FAILURE: " . $username);
|
||||
|
||||
Reference in new issue
Block a user