mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 18:44:46 +02:00
fix "uuid must be a string"
This commit is contained in:
parent
ae189748f1
commit
50240933a0
@ -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;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user