More performance optimized/random string generation, removed passkey length limit from the announcer (#1013)

This commit is contained in:
Cønstantine Kovalensky 2023-11-01 21:20:12 +04:00 committed by GitHub
commit 725773254f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 17 deletions

View file

@ -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 . "