mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
More performance optimized/random string generation, removed passkey length limit from the announcer (#1013)
This commit is contained in:
parent
c69712a463
commit
725773254f
7 changed files with 20 additions and 17 deletions
|
@ -37,7 +37,7 @@ if (isset($_POST['submit'])) {
|
|||
$username = $row['username'];
|
||||
$user_id = $row['user_id'];
|
||||
|
||||
$user_actkey = make_rand_str(ACTKEY_LENGHT);
|
||||
$user_actkey = make_rand_str(ACTKEY_LENGTH);
|
||||
$user_password = make_rand_str(PASSWORD_MIN_LENGTH);
|
||||
|
||||
$sql = "UPDATE " . BB_USERS . "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue