Fix recursion
This commit is contained in:
parent
8a526539be
commit
0c60fbe794
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class User extends Model implements
|
||||||
public function username(): Attribute
|
public function username(): Attribute
|
||||||
{
|
{
|
||||||
return new Attribute(
|
return new Attribute(
|
||||||
get: fn () => mb_strtolower($this->username),
|
get: fn ($username) => mb_strtolower($username),
|
||||||
set: fn ($username) => mb_strtolower($username),
|
set: fn ($username) => mb_strtolower($username),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue