Skip to content

Commit 756b836

Browse files
committed
Merge branch 'master' of git.ispconfig.org:ispconfig/ispconfig3
2 parents 61bd1f9 + 081367b commit 756b836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/password_reset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
$username = $app->db->quote($_POST['username']);
5555
$email = $app->db->quote($_POST['email']);
5656

57-
$client = $app->db->queryOneRecord("SELECT client.*, sys_user.lost_password_function FROM client,sys_user WHERE client.username = '$username' AND client.email = '$email' AND client.client_id = sys_user.client_id");
57+
$client = $app->db->queryOneRecord("SELECT client.*, sys_user.lost_password_function FROM client,sys_user WHERE client.username = ? AND client.email = ? AND client.client_id = sys_user.client_id", $username, $email);
5858

5959
if($client['lost_password_function'] == 0) {
6060
$app->tpl->setVar("error", $wb['lost_password_function_disabled_txt']);

0 commit comments

Comments
 (0)