mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 10:24:45 +02:00
Be explicit about this being a string
This commit is contained in:
parent
693c65995d
commit
ba7a5d5126
@ -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