Make activate key lenght configurable

This commit is contained in:
Roman Kelesidis 2023-03-14 12:49:49 +07:00
commit e1fb41e558
3 changed files with 5 additions and 4 deletions

View file

@ -37,7 +37,7 @@ if (isset($_POST['submit'])) {
$username = $row['username'];
$user_id = $row['user_id'];
$user_actkey = make_rand_str(12);
$user_actkey = make_rand_str(ACTKEY_LENGHT);
$user_password = make_rand_str(8);
$sql = "UPDATE " . BB_USERS . "