[3/4] Do not quote legacy variable

Message ID 20170226210452.8377-3-lfleischer@archlinux.org
State Accepted, archived
Headers show
Series [1/4] Fix SQL query used for creating new accounts | expand

Commit Message

Lukas Fleischer Feb. 26, 2017, 9:04 p.m. UTC
The $salt variable is no longer needed as of 29a4870 (Use bcrypt to hash
passwords, 2017-02-24).

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

Patch

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);