[aur-dev] [PATCH 3/4] Do not quote legacy variable

Lukas Fleischer lfleischer at archlinux.org
Sun Feb 26 21:04:51 UTC 2017


The $salt variable is no longer needed as of 29a4870 (Use bcrypt to hash
passwords, 2017-02-24).

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/lib/acctfuncs.inc.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index 5f7f1f4..63ab4b4 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -282,7 +282,6 @@ function process_account_form($TYPE,$A,$U="",$T="",$S="",$E="",$H="",$P="",$C=""
 		$U = $dbh->quote($U);
 		$E = $dbh->quote($E);
 		$P = $dbh->quote($P);
-		$salt = $dbh->quote($salt);
 		$R = $dbh->quote($R);
 		$L = $dbh->quote($L);
 		$TZ = $dbh->quote($TZ);
-- 
2.12.0


More information about the aur-dev mailing list