mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
parent
ff1a1f6bd5
commit
7585dcbcea
2 changed files with 4 additions and 3 deletions
|
@ -38,7 +38,7 @@ if (isset($_POST['submit'])) {
|
|||
$user_id = $row['user_id'];
|
||||
|
||||
$user_actkey = make_rand_str(ACTKEY_LENGHT);
|
||||
$user_password = make_rand_str(8);
|
||||
$user_password = make_rand_str(PASSWORD_MIN_LENGTH);
|
||||
|
||||
$sql = "UPDATE " . BB_USERS . "
|
||||
SET user_newpasswd = '$user_password', user_actkey = '$user_actkey'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue