浏览代码

Signup.php increase the salt length and remove special characters that can cause problems.

Mark Crane 10 年之前
父节点
当前提交
5647f13b7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/users/signup.php

+ 1 - 1
core/users/signup.php

@@ -110,7 +110,7 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") {
 	}
 	}
 
 
 	//salt used with the password to create a one way hash
 	//salt used with the password to create a one way hash
-	$salt = generate_password('20', '4');
+	$salt = uuid();
 
 
 	//prepare the uuids
 	//prepare the uuids
 	$user_uuid = uuid();
 	$user_uuid = uuid();