mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 09:54:44 +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
|
protected static function booted(): void
|
||||||
{
|
{
|
||||||
static::creating(function (self $user) {
|
static::creating(function (self $user) {
|
||||||
$user->uuid = Str::uuid();
|
$user->uuid = Str::uuid()->toString();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user