mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
fix "uuid must be a string"
This commit is contained in:
@@ -177,7 +177,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
|
||||
protected static function booted(): void
|
||||
{
|
||||
static::creating(function (self $user) {
|
||||
$user->uuid = Str::uuid();
|
||||
$user->uuid = Str::uuid()->toString();
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user