Add user avatar system and fix WHOIS parsing/cron synchronization
- Add avatar upload with Gravatar fallback and initials - Fix false "available" detection for registered domains - Clean up WHOIS status parsing and server display - Update cron job to sync all WHOIS fields - Fix TLD cache and .me domain parsing issues
This commit is contained in:
@@ -39,7 +39,7 @@ class User extends Model
|
||||
/**
|
||||
* Create user with hashed password
|
||||
*/
|
||||
public function createUser(string $username, string $password, ?string $email = null, ?string $fullName = null): int
|
||||
public function createUser(string $username, string $password, ?string $email = null, ?string $fullName = null, ?string $avatar = null): int
|
||||
{
|
||||
$hashedPassword = password_hash($password, PASSWORD_DEFAULT);
|
||||
|
||||
@@ -48,6 +48,7 @@ class User extends Model
|
||||
'password' => $hashedPassword,
|
||||
'email' => $email,
|
||||
'full_name' => $fullName,
|
||||
'avatar' => $avatar,
|
||||
'is_active' => 1
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user